Wednesday, June 19, 2024
3 changes
Code cleanup and technical improvements
This update aligns several Enterprise modules with a recent core platform change by using the renamed shared boolean parsing utility. It is an internal cleanup that helps keep the codebase consistent and easier to maintain, with no expected change for end users.
Original PR description
This commit is made to follow the changes made in https://github.com/odoo/odoo/pull/167387 's first commit (rename archParseBoolean into exprToBoolean and move it to string utils)
Brazilian electronic invoicing warnings are now consolidated into one clearer message system with actions users can take. This makes invoice sending issues easier to understand and helps avoid inconsistent warning behavior across screens; subscription flows also keep email sending behavior stable when Peppol is installed.
Original PR description
This commit is part of the bigger commit in the community version.
This commit refactors all warning fields in account.move.send object into one Actionable Error JSON field, and adds actions on all of them.
Previously, whenever we wanted to show a warning field, we created a new field for each `account.move.send` inherits, and they all differ from each other: some uses Char, some uses Text, etc.
With the new `actionable.error` field, it's a good time to remove all the warning fields from different localizations into one object: `send_warning_message` from `account.account_move_send`
To avoid conflicts, warning keys are also rewritten to the following format: `{module_name}_warning{*}`, where `*` specify any required detail to avoid further conflicts within one module.
task-id: 3810105
related community-PR: https://github.com/odoo/odoo/pull/166733This update refreshes internal guided-tour test definitions across several Odoo apps to use the newer activation rule format. It helps keep automated testing infrastructure compatible with the platform and prepares the old configuration fields for removal, without changing business features.
Original PR description
Since https://github.com/odoo/odoo/pull/168829, the auto, edition, skip_trigger, mobile keys have been replaced by isActive. In this commit, we replace these keys with isActive so that we can then delete them from the schema of a step. task~3974087