Closed fw-bot closed 3 weeks ago
@rachico @rrahir this PR targets master and is the last of the forward-port chain containing:
To merge the full chain, use
@robodoo r+
More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port
@robodoo r+
[FIX] border: bottom sheet borders removed on DELETE_ROWS
Problem
Before this commit, when we add borders at the bottom of a sheet (at very the last rows), if we delete some rows in a position before the borders, some/all borders disappear (depending on how many rows we deleted). The reason being that the sheet plugin updates the total rows before we loop through them to shift the borders.
Solution
This commit fixes this behaviour by redefining the way we get the border to shift.
Task: 3911695
review checklist
Forward-Port-Of: odoo/o-spreadsheet#4603 Forward-Port-Of: odoo/o-spreadsheet#4325