Wednesday, August 21, 2024
9 changes · master
Resolved issues and error corrections
This fix ensures customer-facing text in the UrbanPiper point-of-sale order information popup can be translated properly. It helps businesses provide a more consistent localized experience for users working in different languages.
Original PR description
This commit fixes the props that pass strings to use `.translate` introduced in: [#174697](https://github.com/odoo/odoo/pull/174697) Community: https://github.com/odoo/odoo/pull/175568
Code cleanup and technical improvements
The WhatsApp module was internally adjusted to return simpler record references where possible. This supports cleaner data handling and helps keep related WhatsApp functionality easier to maintain without changing the user experience.
Original PR description
Enterprise counter-part. Part of task-3605717 https://github.com/odoo/odoo/pull/176918
Miscellaneous changes
During aea506700d9a3253c02f46f587a3e360a89cce0b, we forgot to adapt the model that was inheriting `account.generic.tax.report.handler` to make it inherit the new `account.tax.report.handler` model. Because of that, we never passed into the `_get_vat_closing_entry_additional_domain` method, leading to wrong lines being included in the closing entry. Steps: - Install l10n_lu and l10n_eu_oss_reports - Create and confirm two invoices, one with tax 17% S and the other with tax 20.0% FR VAT - Go t
Original PR description
During aea506700d9a3253c02f46f587a3e360a89cce0b, we forgot to adapt the model that was inheriting `account.generic.tax.report.handler` to make it inherit the new `account.tax.report.handler` model. Because of that, we never passed into the `_get_vat_closing_entry_additional_domain` method, leading to wrong lines being included in the closing entry. Steps: - Install l10n_lu and l10n_eu_oss_reports - Create and confirm two invoices, one with tax 17% S and the other with tax 20.0% FR VAT - Go to LU Tax Report, select the same month as the invoices - Click on Closing Entry button -> There are lines from tax 20.0% FR VAT, they should not be there opw-4015752 Forward-Port-Of: odoo/enterprise#67815
Before this commit: Generating return label on delivery was disabled intentionally. After this commit: Option to select return label on delivery is enabled. A warning is added in `sendcloud_product_selection_widget` for customers befroe selecting return product. opw-4008265 Forward-Port-Of: odoo/enterprise#68447
Original PR description
Before this commit: Generating return label on delivery was disabled intentionally. After this commit: Option to select return label on delivery is enabled. A warning is added in `sendcloud_product_selection_widget` for customers befroe selecting return product. opw-4008265 Forward-Port-Of: odoo/enterprise#68447
Steps: 1) Install website_helpdesk_forum 2) Create a Helpdesk Team with a forum connected to it 3) Open the post on that forum and click on the "Create Ticket" 4) The team selection field is empty Cause: The data of the teams are not coming correctly via the route Fix: In the route, we will only send the team connected to the forum. This issue was discovered while creating a test case for this task. Task-4034550 Forward-Port-Of: odoo/enterprise#66827
Original PR description
Steps: 1) Install website_helpdesk_forum 2) Create a Helpdesk Team with a forum connected to it 3) Open the post on that forum and click on the "Create Ticket" 4) The team selection field is empty Cause: The data of the teams are not coming correctly via the route Fix: In the route, we will only send the team connected to the forum. This issue was discovered while creating a test case for this task. Task-4034550 Forward-Port-Of: odoo/enterprise#66827
- 17.0 <hr> - Currently, the tour is written according to the demo data. The selector .o_form_sheet div[name] input will match if the work template is 'Device Installation and Maintenance' . This template is available in the demo. If the demo loads, the default 'Device Installation and Maintenance' will be set via the post hook. When the demo does not load, we will have the default template instead. That's why we used the .o_form_sheet p.oe-command-temporary-hint class in the OR condit
Original PR description
- 17.0 <hr> - Currently, the tour is written according to the demo data. The selector .o_form_sheet div[name] input will match if the work template is 'Device Installation and Maintenance' . This template is available in the demo. If the demo loads, the default 'Device Installation and Maintenance' will be set via the post hook. When the demo does not load, we will have the default template instead. That's why we used the .o_form_sheet p.oe-command-temporary-hint class in the OR condition. - Remove import `loaded_demo_data` from industry_fsm tests because it was not in use from this [commit](https://github.com/odoo/enterprise/commit/90ca61c62ecb0e5ddcf4d1e1ec9e0a2bf27c27f1). task-4086026 Forward-Port-Of: odoo/enterprise#68517 Forward-Port-Of: odoo/enterprise#67846
Two warnings need to be conditionally hidden if the company does not have an OSCU active: - the warning on invoices that the delivered quantities do not match invoiced quantities; and - the warning on BoMs. In addition, we take the opportunity to remove the method `env['product.product']._compute_l10n_ke_validation_message` which is dead code. Forward-Port-Of: odoo/enterprise#68474 Forward-Port-Of: odoo/enterprise#68423
Original PR description
Two warnings need to be conditionally hidden if the company does not have an OSCU active: - the warning on invoices that the delivered quantities do not match invoiced quantities; and - the warning on BoMs. In addition, we take the opportunity to remove the method `env['product.product']._compute_l10n_ke_validation_message` which is dead code. Forward-Port-Of: odoo/enterprise#68474 Forward-Port-Of: odoo/enterprise#68423
In the case where the HR responsible is not required to sign, he should not be added to the request items. Forward-Port-Of: odoo/enterprise#68622
Original PR description
In the case where the HR responsible is not required to sign, he should not be added to the request items. Forward-Port-Of: odoo/enterprise#68622
Before this commit when opening a report that take fiscal year as the period_type, the display in the date dropdown was wrong. task: 4096212 Forward-Port-Of: odoo/enterprise#67960
Original PR description
Before this commit when opening a report that take fiscal year as the period_type, the display in the date dropdown was wrong. task: 4096212 Forward-Port-Of: odoo/enterprise#67960