Wednesday, February 23, 2022
8 changes · master
Enhancements to existing features
Enterprise test coverage has been adjusted to match updated handling of images and embedded content in the related community changes. This helps keep document, email attachment preview, and Studio features reliably validated without changing business workflows.
Original PR description
*: documents, mail_enterprise, web_studio The corresponding PR in community changes the way that src on images and iframes are neutralized, this commit adapts tests in enterprise that rely on the old behaviour.
Resolved issues and error corrections
This update corrects internal appointment performance test expectations so they match the current number of database operations. It helps keep automated quality checks reliable and prevents false failures during future development, with no direct change for end users.
Original PR description
Community: https://github.com/odoo/odoo/pull/83818
Miscellaneous changes
This update reverses a previous internal change related to appointment performance testing. It helps keep the codebase aligned with the related core Odoo change and has no expected direct impact on day-to-day users.
Original PR description
See odoo/odoo#85199
The condition at the beginning of _format_lines_for_display was written with the intend to prevent running this formatting on the generic tax reports, but it was wrong. Indeed, the 'tax_report' option is also set when using a generic report, with a string value identifying it. This only caused useless computation in 15.0, but crashed in master (future 15.3), because we were browsing 'generic', which used to return a single record in 15.0-15.2, but now returns a record set, with a record for e
Original PR description
The condition at the beginning of _format_lines_for_display was written with the intend to prevent running this formatting on the generic tax reports, but it was wrong. Indeed, the 'tax_report' option is also set when using a generic report, with a string value identifying it. This only caused useless computation in 15.0, but crashed in master (future 15.3), because we were browsing 'generic', which used to return a single record in 15.0-15.2, but now returns a record set, with a record for each letter. This, in turn, was breaking the ensure_one() in account.tax.report's get_checks_to_perform(). Forward-Port-Of: odoo/enterprise#24664
Added balance sheet and profit and loss for hungarian localization Task : https://www.odoo.com/web#id=2678497&cids=1&menu_id=4720&action=333&active_id=967&model=project.task&view_type=form Forward-Port-Of: odoo/enterprise#23899 Forward-Port-Of: odoo/enterprise#23696
Original PR description
Added balance sheet and profit and loss for hungarian localization Task : https://www.odoo.com/web#id=2678497&cids=1&menu_id=4720&action=333&active_id=967&model=project.task&view_type=form Forward-Port-Of: odoo/enterprise#23899 Forward-Port-Of: odoo/enterprise#23696
If applied, this commit will fix the following bug by adding intrastat country to generated invoices if the partner country is an intrastat country. Steps to reproduce: 1- install subscriptions - intrastat 2- Create a user u from an intrastat country 3- Create a new subscription for u with a payment plan 4- edit the payment plan to anything other than manual 5- click on "Generate Invoice" action button 6- the generated Invoice doesn't have intrastat country set Bug: the ```int
Original PR description
If applied, this commit will fix the following bug by adding intrastat country to generated invoices if the partner country is an intrastat country. Steps to reproduce: 1- install subscriptions - intrastat 2- Create a user u from an intrastat country 3- Create a new subscription for u with a payment plan 4- edit the payment plan to anything other than manual 5- click on "Generate Invoice" action button 6- the generated Invoice doesn't have intrastat country set Bug: the ```intrastat_country_id``` is not being set while creating the invoice Fix: Add intrastat_country_id to invoice linked to: https://github.com/odoo/odoo/pull/84103 OPW-2693107 Forward-Port-Of: odoo/enterprise#24464 Forward-Port-Of: odoo/enterprise#24095
Improve the journal audit report by adding information about impacted tax grid for each computed journal. Task id #2658937 Forward-Port-Of: odoo/enterprise#24610 Forward-Port-Of: odoo/enterprise#23738
Original PR description
Improve the journal audit report by adding information about impacted tax grid for each computed journal. Task id #2658937 Forward-Port-Of: odoo/enterprise#24610 Forward-Port-Of: odoo/enterprise#23738
In some cases the pager no longer appears Especially when using a filter in the search and modifying the current page Steps: - Manufacturing - Planning -> Master Production Schedule - Use a random filter with many records like `Created on is between "02/14/2022 00:00:00 and 02/14/2022 23:59:59"` - Change 1-4/4 by 1-2/4 and click outside to validate input - The pager disappear opw-2723283 Forward-Port-Of: odoo/enterprise#24047
Original PR description
In some cases the pager no longer appears Especially when using a filter in the search and modifying the current page Steps: - Manufacturing - Planning -> Master Production Schedule - Use a random filter with many records like `Created on is between "02/14/2022 00:00:00 and 02/14/2022 23:59:59"` - Change 1-4/4 by 1-2/4 and click outside to validate input - The pager disappear opw-2723283 Forward-Port-Of: odoo/enterprise#24047