Closed fw-bot closed 3 days ago
@rachico @rrahir cherrypicking of pull request odoo/o-spreadsheet#4325 failed.
stdout:
Auto-merging src/plugins/core/borders.ts
Auto-merging tests/plugins/borders.test.ts
CONFLICT (content): Merge conflict in tests/plugins/borders.test.ts
stderr:
12:21:29.779386 git.c:463 trace: built-in: git cherry-pick 3c5924e2f441e6390112b9a3dc51e9437ee2b382 --strategy ort
error: could not apply 3c5924e2f... [FIX] border: bottom sheet borders removed on DELETE_ROWS
hint: After resolving the conflicts, mark them with
hint: "git add/rm <pathspec>", then run
hint: "git cherry-pick --continue".
hint: You can instead skip this commit with "git cherry-pick --skip".
hint: To abort and get back to the state before "git cherry-pick",
hint: run "git cherry-pick --abort".
----------
status:
Either perform the forward-port manually (and push to this branch, proceeding as usual) or close this PR (maybe?).
In the former case, you may want to edit this PR message as well.
:warning: after resolving this conflict, you will need to merge it via @robodoo.
More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port
@rachico @rrahir this forward port of odoo/o-spreadsheet#4325 is awaiting action (not merged or closed).
@rachico @rrahir this forward port of odoo/o-spreadsheet#4325 is awaiting action (not merged or closed).
@rachico @rrahir this forward port of odoo/o-spreadsheet#4325 is awaiting action (not merged or closed).
@rachico @rrahir this forward port of odoo/o-spreadsheet#4325 is awaiting action (not merged or closed).
@rachico @rrahir this forward port of odoo/o-spreadsheet#4325 is awaiting action (not merged or closed).
@rachico @rrahir this forward port of odoo/o-spreadsheet#4325 is awaiting action (not merged or closed).
@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#4325