Monday, August 19, 2024
3 changes · master
Resolved issues and error corrections
This fixes an issue where manually validating imported bills could be incorrectly treated as a manual edit in certain localization flows. The change helps keep automatic bill posting recommendations accurate for users in affected e-invoicing localizations.
Original PR description
In b1046c8156ee3d3699d5b229720134cc3b2532d4, we introduced a new feature to allow autoposting of bills. When a user does not modify the imported bill for 3 consecutive times, we ask the user if he wants to activate the feature. To detect whether the user has modified the imported bill or not, we use a new field `is_manually_modified` which is always set to `True` when the bill is edited except for automatic flows (OCR, CRON, email) or when the user manually validates the bill. In the latter case, `is_manually_modified` shouldn't be set to `True` even if it is a manual flow. For this purpose, when posting, we use the special context key `skip_is_manually_modified=True` to skip the setting of `is_manually_modified`. This was done for the `_post()` method of `account.move`, but is also required for some extensions of this method in the `l10n_` modules. runbot error id: 74836 Community PR: https://github.com/odoo/odoo/pull/176905
The point-of-sale restaurant appointment screen now correctly highlights the Manage Bookings tab when it is selected. This makes navigation clearer for staff and reduces confusion when switching between tabs.
Original PR description
A new tab system has been introduced in 1bc90a18807c43206c4620d7faad2579a3a61fc9 The selected tab is supposed to be highlighted, but that is not currently the case for the `Manage Bookings` tab. In this commit we fix the issue. Related to: https://github.com/odoo/odoo/pull/176642
This update keeps Mexico electronic invoicing payment registration working after a related change in the core payment flow. It prevents disruption for users processing Mexican payments by aligning the localization with the updated system behavior.
Original PR description
…nity The `_get_batches()` method is removed in the community commit and changed by a computed field. We adapt the code that used it accordingly. task-3884561 Related to https://github.com/odoo/odoo/pull/174812