Sunday, June 30, 2024
1 change · master
Resolved issues and error corrections
This fixes an issue where exported accounting reports and tax closing flows could use the wrong comparison period because they skipped the browser step that normally sets it. The change restores the previous period setting so business reports and tax closing data stay consistent, and also corrects a related field type during renaming.
Original PR description
In this commit: https://github.com/odoo/enterprise/commit/ae9a269f640b848cffa79365a3091e6423f8e0dd We removed a line setting the previous period in the options. But this line was very useful for the export and tax closing. Since we don't go through the JS for those two flows, the period was not set in the options and so the new_period is by default -1. Also correcting a type while renaming the field. task: 4019504