Monday, September 18, 2023
13 changes
Resolved issues and error corrections
Portal users opening a shared spreadsheet will now see the correct icon next to the download option. This small visual fix makes the menu clearer and more consistent for users.
Original PR description
The icon was missing in the download menu item for portal users that access a shared spreadsheet. Task: [3495200](https://www.odoo.com/web#menu_id=4720&cids=1&action=333&active_id=2328&model=project.task&view_type=form&id=3495200)
Features or functions removed from Odoo
The old enterprise Purchase add-on is being removed because its dashboard role is obsolete and its remaining setup has moved into the main Purchase app. This simplifies the product structure without changing current purchasing workflows.
Original PR description
> Originally contributed by OCA member @niyasraphy in odoo/enterprise#43130 purchase_enterprise module is no longer useful since the enterprise only dashboard view it originally had was obsoleted by the addition of the new dashboards app in commit 61c8314. It now only provides demo data and context for an existing action. This PR removes all of the obsoleted functionality. odoo/odoo#132475 moves the demo data and context into the community purchase app. odoo/upgrade#5064 is the associated upgrade script. task-3452519
Code cleanup and technical improvements
This update aligns how follow-up actions are registered around database saves and rollbacks. It supports ongoing platform maintenance and helps affected features remain compatible with the updated core behavior, with no expected direct change for end users.
Original PR description
Related to https://github.com/odoo/odoo/pull/48504
Miscellaneous changes
New IEPS taxes are added in `l10n_mx` (in https://github.com/odoo/odoo/pull/134595), hence the COA report changes and requires its test to be adapted. task-3100679 Forward-Port-Of: odoo/enterprise#47415 Forward-Port-Of: odoo/enterprise#47121
Original PR description
New IEPS taxes are added in `l10n_mx` (in https://github.com/odoo/odoo/pull/134595), hence the COA report changes and requires its test to be adapted. task-3100679 Forward-Port-Of: odoo/enterprise#47415 Forward-Port-Of: odoo/enterprise#47121
Currently the InitialsAllPagesDialog is selecting the first role instead of the current one. This is due to the fact that in the owl template, the selected option is defined by the true equality operator in JS between a string and a number. This commit fixes this by using the == operator instead of === task-3431069 Forward-Port-Of: odoo/enterprise#44584
Original PR description
Currently the InitialsAllPagesDialog is selecting the first role instead of the current one. This is due to the fact that in the owl template, the selected option is defined by the true equality operator in JS between a string and a number. This commit fixes this by using the == operator instead of === task-3431069 Forward-Port-Of: odoo/enterprise#44584
Implemented support for the BACS payment scheme as per the latest technical specifications, enabling the processing of BACS Direct Credits and Direct Debits. Included the mandatory requirement of a Service User Number (SUN) for businesses conducting transactions via BACS. Task-Id: 3326945 Community-PR: https://github.com/odoo/odoo/pull/128069 Enterprise-PR: https://github.com/odoo/enterprise/pull/43923 Forward-Port-Of: odoo/enterprise#47234 Forward-Port-Of: odoo/enterprise#43923
Original PR description
Implemented support for the BACS payment scheme as per the latest technical specifications, enabling the processing of BACS Direct Credits and Direct Debits. Included the mandatory requirement of a Service User Number (SUN) for businesses conducting transactions via BACS. Task-Id: 3326945 Community-PR: https://github.com/odoo/odoo/pull/128069 Enterprise-PR: https://github.com/odoo/enterprise/pull/43923 Forward-Port-Of: odoo/enterprise#47234 Forward-Port-Of: odoo/enterprise#43923
In https://github.com/odoo/enterprise/pull/41285 and https://github.com/odoo/odoo/pull/118701/files, we added `group_account_readonly` but we should add also `group_account_invoice`. opw-3507588 Forward-Port-Of: odoo/enterprise#47467
Original PR description
In https://github.com/odoo/enterprise/pull/41285 and https://github.com/odoo/odoo/pull/118701/files, we added `group_account_readonly` but we should add also `group_account_invoice`. opw-3507588 Forward-Port-Of: odoo/enterprise#47467
Before this commit, the fact the export buttons were resolved on the sections source of the report was enforced on the js side, while on server-side, the test calling the appropriate function had to explicitly mimic that. This caused confusion, to the point we did not realize that, when using sections, export buttons where resolved on the section source, but used the rerouted options of the opened section for that. This could create errors at exports, if the section did not support the exact
Original PR description
Before this commit, the fact the export buttons were resolved on the sections source of the report was enforced on the js side, while on server-side, the test calling the appropriate function had to…
Before this commit, the fact the export buttons were resolved on the sections source of the report was enforced on the js side, while on server-side, the test calling the appropriate function had to explicitly mimic that. This caused confusion, to the point we did not realize that, when using sections, export buttons where resolved on the section source, but used the rerouted options of the opened section for that. This could create errors at exports, if the section did not support the exact same filters as the composite report owning it ; in turn, depending on the code related to the button, this could cause issues. We remove that variability by ensuring the options used to dispatch a function are compatible with the report. In case of a composite report, we regenerate the options. To do that, we also deconfuse the way the sections source is selected to dispatch button functions, and tweak a little bit the computation of the 'report_id' option key so that it does not reroute anymore in this case, for clarity. Forward-Port-Of: odoo/enterprise#47319
This commit comes with odoo/odoo#135300, which fixes an issue with the "Insert menu in spreadsheet" feature. In stock.picking, the domain of the action is the empty string. In this case, it crashed because the empty string isn't a valid domain representation. This commit adds the test case. Forward-Port-Of: odoo/enterprise#47363 Forward-Port-Of: odoo/enterprise#47350
Original PR description
This commit comes with odoo/odoo#135300, which fixes an issue with the "Insert menu in spreadsheet" feature. In stock.picking, the domain of the action is the empty string. In this case, it crashed because the empty string isn't a valid domain representation. This commit adds the test case. Forward-Port-Of: odoo/enterprise#47363 Forward-Port-Of: odoo/enterprise#47350
To be able to easily add values in the description of the car, we extract the part where we gives the structured info put in description Forward-Port-Of: odoo/enterprise#47425
Original PR description
To be able to easily add values in the description of the car, we extract the part where we gives the structured info put in description Forward-Port-Of: odoo/enterprise#47425
Bug === When quoting a Tweet, a traceback is raised because some method are not defined in the Quote template. Task-3495203 Forward-Port-Of: odoo/enterprise#46982
Original PR description
Bug === When quoting a Tweet, a traceback is raised because some method are not defined in the Quote template. Task-3495203 Forward-Port-Of: odoo/enterprise#46982
Forward-Port-Of: odoo/enterprise#47133 Forward-Port-Of: odoo/enterprise#43739
Original PR description
Forward-Port-Of: odoo/enterprise#47133 Forward-Port-Of: odoo/enterprise#43739
CAST(CONCAT(lot_info.lot_id, pdg.max_id, sol.id) AS NUMERIC) will generate huge ids and also not unique one. The webclient won't manage that correctly and some records will be invisible. Also, in master, these huge ids crashes the future get_gantt_data. opw-3346154 Forward-Port-Of: odoo/enterprise#47410
Original PR description
CAST(CONCAT(lot_info.lot_id, pdg.max_id, sol.id) AS NUMERIC) will generate huge ids and also not unique one. The webclient won't manage that correctly and some records will be invisible. Also, in master, these huge ids crashes the future get_gantt_data. opw-3346154 Forward-Port-Of: odoo/enterprise#47410