Closed fw-bot closed 2 weeks ago
@rachico @pro-odoo 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] find_and_replace: fix previous command
Problem
The problem occurs when we perform a search using "Find & Replace". In fact, when going backward to a previous occurrence that is located in the previous sheet, we match the first occurrence of that sheet, when actually we need to match on the last occurrence of that sheet.
Solution
This commit solves the issue by checking whether the sheet switch is automatic (coming from the Previous button).
Task: 3839575
review checklist
Forward-Port-Of: odoo/o-spreadsheet#4250