Wednesday, August 17, 2022
14 changes
Enhancements to existing features
This update streamlines how several Odoo apps manage internal data needed to identify records in the interface. It helps make approvals, documents, mail, signing, and VoIP interactions more consistent and reliable without changing normal user workflows.
Original PR description
Task-2955910. \* = approvals, documents, mail_enterprise, sign Community: odoo/odoo#98283
Updates in Documents and Mail Enterprise now assume a replacement action when no specific command is provided. This makes field updates more consistent and removes the need to repeatedly specify the same replace instruction.
Original PR description
\* documents, mail_enterprise **Current behavior before PR:** A `replace` command should be default while updating a field. **Desired behavior after PR is merged:** - If no command is passed while updating a field, add a `replace` command as default. - Remove all the existing occurrences of `replace` command. Task-2851488 I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The banner shown while testing appraisal surveys now uses wording consistent with the standard survey experience. This reduces confusion for users switching back to edit mode and keeps messaging uniform across survey flows.
Original PR description
PURPOSE: Change the wording of the banner shown when a user tests a survey, that allows to go back in edit mode, so that it matches the one shown when the hr_appraisal_survey module is not installed. Task-2794884
This update streamlines how several Odoo apps identify internal records, replacing a more rigid setup with a simpler approach. It should make future customizations and extensions easier while keeping the change mostly behind the scenes for users.
Original PR description
* = approvals, documents, mail_enterprise, sign, voip This simplifies definition and overrides and opens up new identification opportunities. Part of task-2741982 https://github.com/odoo/odoo/pull/98166
The Quality app's tablet image field is being modernized to use Odoo's newer interface framework. This should help keep the tablet experience maintainable and reliable, with basic tests added to confirm expected behavior, though the pull request is marked as not ready for review yet.
Original PR description
This PR is not yet ready. Be aware that I started working on the conversion of the widget tablet_image. I'll ping you when the PR is ready for review
The Knowledge editor now uses clearer confirmation messages so users better understand what will happen before they take an action. The sharing panel also receives a visual refresh, making the interface more polished and easier to use.
Original PR description
This PR introduces minor changes regarding the wording and the design of the editor view of Knowledge. The new wording of the confirmation dialogs will give more indication of the effect of the action the user issued. The new design of the share panel will simply make the interface look prettier. task-2893088
Resolved issues and error corrections
This fixes an outdated date handling method used by spreadsheet global filters. It helps ensure spreadsheet filters continue to interpret dates correctly after related platform changes, reducing the chance of incorrect filtered results.
Original PR description
Related to odoo/odoo#98194
Miscellaneous changes
Partial backport of https://github.com/odoo/enterprise/pull/25919 ### Steps to reproduce - install the following modules: Accounting, Purchase and Disallowed Expenses (account_disallowed_expenses) - add the Dutch language - to speed things up a bit, install the module called 'Belgium - Disallowed Expenses Data' (l10n_be_disallowed_expenses). This module includes a bunch of premade Disallowed Expenses Categories with their Dutch translations, saving you the trouble of creating them yoursel
Original PR description
Partial backport of https://github.com/odoo/enterprise/pull/25919 ### Steps to reproduce - install the following modules: Accounting, Purchase and Disallowed Expenses (account_disallowed_expenses) -…
Partial backport of https://github.com/odoo/enterprise/pull/25919 ### Steps to reproduce - install the following modules: Accounting, Purchase and Disallowed Expenses (account_disallowed_expenses) - add the Dutch language - to speed things up a bit, install the module called 'Belgium - Disallowed Expenses Data' (l10n_be_disallowed_expenses). This module includes a bunch of premade Disallowed Expenses Categories with their Dutch translations, saving you the trouble of creating them yourself. - in the Accounting module, go to 'Configuration' > 'Chart of Accounts' and create a new account. Make sure to set type=Expenses. Also add a Dutch translation for the account name. - now click the 'SETUP' button on the account you just created. Click 'Edit' and set 'Disallowed Expenses' to any value in the selection and save. - create a Vendor Bill and add any product. On the invoice line, set 'Account' to the account you just created. - confirm the bill and go to 'Reporting' > 'Disallowed Expenses' in the Accounting module. - switch to Dutch You should see on the report that neither the category nor the account are translated. ### Why is this happening The data used to populate the report is retrieved using a raw SQL query, which means that the data is not translated automatically. The translation has to be retrieved manually. opw-2888284 Forward-Port-Of: odoo/enterprise#30475 Forward-Port-Of: odoo/enterprise#30027
The list view now displays the icon beside the 'Add custom field' option with the correct spacing. This restores the previous visual style and makes the interface look cleaner and more consistent.
Original PR description
This commit fixes the style of the icon placed next to the 'Add custom field' text in the list view. Before this commit, the icon was placed directly next to the text. We want to space it correctly to bring back the legacy style. Before this commit: <img width="58" alt="image" src="https://user-images.githubusercontent.com/35101914/185056435-128a02c0-09d6-4418-9b21-4e01b3bcb79c.png"> After this commit: <img width="52" alt="image" src="https://user-images.githubusercontent.com/35101914/185056480-b66b204c-385a-4a84-a92c-11ba186d58f6.png"> Legacy style: <img width="66" alt="image" src="https://user-images.githubusercontent.com/35101914/185056534-395f2e06-3f36-4698-8e2c-328ad54dafb5.png">
This change reverses a previous attempted fix for a Documents Spreadsheet test because it did not work as intended. It helps keep the codebase aligned with reliable behavior while the team determines a better solution.
Original PR description
…n spreadsheet" This reverts commit 9a2f7a07581b6f76dac07b2cbf4c02987fa729f4 as the fix does not work as intended.
This fix restores styling rules in Odoo Studio's form editor after recent form view changes caused some legacy editor styles to stop applying. It helps keep the form editing experience visually consistent and avoids layout or display issues for users customizing forms.
2 issues to fix: - 1 time off from the 30/06 to the 01/07 -> Only the 30/06 is defered, and not the 1rst - a half day is reported as a full day Note: The tests were badly written with hardcoded date_from/date_to that were not similar to what we could get from the interface. TaskID: 2951195 Forward-Port-Of: odoo/enterprise#30460
Original PR description
2 issues to fix: - 1 time off from the 30/06 to the 01/07 -> Only the 30/06 is defered, and not the 1rst - a half day is reported as a full day Note: The tests were badly written with hardcoded date_from/date_to that were not similar to what we could get from the interface. TaskID: 2951195 Forward-Port-Of: odoo/enterprise#30460
Forward-Port-Of: odoo/enterprise#30453 Forward-Port-Of: odoo/enterprise#30413
Original PR description
Forward-Port-Of: odoo/enterprise#30453 Forward-Port-Of: odoo/enterprise#30413
It's possible for a customer to add, delete and modify the quantity of optional products via /my/quote. This fix makes sure tax is recomputed via avatax whenever that happens. It's not possible to test this @http.route function with MockRequest like in account_avatax_sale_subscription because this module doesn't depend on website. Instead this fix was tested by adding a tour that adds, increments and deletes an optional product. The test then checks if button_update_avatax was called th
Original PR description
It's possible for a customer to add, delete and modify the quantity of optional products via /my/quote. This fix makes sure tax is recomputed via avatax whenever that happens. It's not possible to test this @http.route function with MockRequest like in account_avatax_sale_subscription because this module doesn't depend on website. Instead this fix was tested by adding a tour that adds, increments and deletes an optional product. The test then checks if button_update_avatax was called the right amount of times. opw-2946916 Forward-Port-Of: odoo/enterprise#30227 Forward-Port-Of: odoo/enterprise#30105