Tuesday, March 15, 2022
10 changes · master
Enhancements to existing features
The mail chat window now manages its next-action text as stored interface data rather than calculating it directly in the header. This is an internal improvement that should make the chat UI easier to maintain without changing the visible workflow for users.
Original PR description
Task-2793280
The VoIP module’s internal file structure was simplified by removing an unnecessary folder level. This makes the codebase easier to maintain without changing the product experience for users.
Original PR description
Remove intermediate directories in `static/src/models/`.
Resolved issues and error corrections
Swedish OCR options will now appear only when the user's active company is localized in Sweden. This prevents irrelevant Swedish payment settings from showing on partner records for companies operating outside Sweden.
Original PR description
### [FIX]: l10n_se: Hide Swedish OCR for non-SE Swedish OCR options are currently available everywhere when the localisation is implemented. This hides the options when the current user active company is not Swedish **Task:** task-2732385 Signed-off-by: Julien Alardot (jual) <jual@odoo.com> **Description of the issue/feature this PR addresses:** Swedish OCR settings are available all the time **Current behavior before PR:** Swedish OCR settings are currently available on every partner all the time when the localisation is implemented. Even when the company the user uses is not localized in Sweden **Desired behavior after PR is merged:** Swedish OCR settings are only displayed when the company the user uses is localized in Sweden (the one that is displayed on top if several are selected) -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Code cleanup and technical improvements
Saudi Arabia invoice rendering has been folded into the main Saudi localization module because the two were always used together. Business behavior should remain the same, but setup and maintenance are simpler with one module instead of two.
Original PR description
### [MOV]: l10n_sa l10n_sa_invoices: merge l10n_sa_invoices into l10n_sa The l10n_sa_invoices changes do not need to be in a separate module as they are always required for l10n_sa. This merges the two modules into l10n_sa **Task:** task-2723443 Signed-off-by: Julien Alardot (jual) <jual@odoo.com> **Description of the issue/feature this PR addresses:** There are two modules for Saudi Arabia invoices that are always used together and never alone **Current behavior before PR:** l10n_sa_invoices takes care of Saudi arabia invoices rendering requirements and l10n_sa take care of the rest **Desired behavior after PR is merged:** Exactly the same as before, only using one module for that -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Miscellaneous changes
backport jquery bugfixes opw-2793379 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: #74083 Forward-Port-Of: odoo/odoo#86387
Original PR description
backport jquery bugfixes opw-2793379 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: #74083 Forward-Port-Of: odoo/odoo#86387
This fixes an issue where currency rounding could leave tiny extra decimal remainders instead of returning a clean rounded amount. It helps prevent confusing values such as 12.120000000001 from appearing in business records or calculations.
Original PR description
Using the rounding method for each currency did not always cut off the last "remainder" Example: HUF: rounding to 2 decimal places 12.12 -- > 12.120000000001 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes an issue in the VoIP feature where call reason messages were using an outdated text escaping method. The update restores the correct handling of these messages, helping avoid display errors or broken call feedback for users.
Original PR description
Reason phrases are escaped using a no longer existing function. This commit solves the issue by importing the right function.
Forward-Port-Of: odoo/odoo#86434
Original PR description
Forward-Port-Of: odoo/odoo#86434
enterprise part of odoo/odoo#86434 Forward-Port-Of: odoo/enterprise#25286
Original PR description
enterprise part of odoo/odoo#86434 Forward-Port-Of: odoo/enterprise#25286
Add sudo() to allow search on account intrastat codes for non manager users, when executing _fill_missing_values() when displaying the intrastat report. Forward-Port-Of: odoo/enterprise#25258
Original PR description
Add sudo() to allow search on account intrastat codes for non manager users, when executing _fill_missing_values() when displaying the intrastat report. Forward-Port-Of: odoo/enterprise#25258