Friday, August 25, 2023
13 changes
Enhancements to existing features
Unused older interface templates were removed from the web and project areas. This reduces maintenance overhead and helps keep the platform codebase cleaner without changing day-to-day user workflows.
Original PR description
task 3439226
Resolved issues and error corrections
This update corrects how certain screen display conditions are checked in the delivery bpost and payroll accounting areas. It helps ensure fields or options appear only when intended, reducing small interface errors for users.
Original PR description
There are some conditions in xml that uses `not in` for a check with a string. These are replaced by `!=` operator.
Code cleanup and technical improvements
The push notification feature now uses the browser's current storage mechanism instead of older legacy storage methods. This keeps the implementation cleaner and better aligned with modern browser behavior, with no expected change for end users.
Original PR description
This commit removes the legacy storage (localStorage and sessionStorage) and replaces it with the storage coming from browser. Part of task-id 3439226
Miscellaneous changes
Before this commit, when a legacy many2one field is disabled the background was forced to be white, which made it unreadable on dark mode. Steps to reproduce: - Activate dark mode - In Accounting, open the Bank Reconciliation - Open the Manual Operations tab - Disable the Partner field => light grey text on white background Forward-Port-Of: odoo/enterprise#46274
Original PR description
Before this commit, when a legacy many2one field is disabled the background was forced to be white, which made it unreadable on dark mode. Steps to reproduce: - Activate dark mode - In Accounting, open the Bank Reconciliation - Open the Manual Operations tab - Disable the Partner field => light grey text on white background Forward-Port-Of: odoo/enterprise#46274
This update removes unused options from the internal record-saving process across several Odoo apps. It simplifies the codebase and reduces maintenance overhead without changing expected user workflows.
Original PR description
Remove unused parameters from record save method : - stayInEdition - useSaveErrorDialog - savePoint - force - closable - saveAndNew
This update removes outdated internal code used across several Odoo Enterprise apps and updates related screens to use the newer structure. The change helps simplify maintenance and reduce technical debt, with little expected impact on day-to-day users.
Original PR description
task 3439226
'LugarExpedicion' must be the zip of the supplier and not the customer. opw: 3474218 Forward-Port-Of: odoo/enterprise#46284
Original PR description
'LugarExpedicion' must be the zip of the supplier and not the customer. opw: 3474218 Forward-Port-Of: odoo/enterprise#46284
Summary ------- Currently, numbers and dates can be wrapped on reports. Also, numbers are not correctly aligned. Steps to reproduce ------------------ * create and confirm an invoice that has a line with a long label. * print the general ledger You should see that, even though there's still room on the report, the numbers are wrapped. opw-3436993 opw-3465157 opw-3461247 opw-3462774 Forward-Port-Of: odoo/enterprise#46222
Original PR description
Summary ------- Currently, numbers and dates can be wrapped on reports. Also, numbers are not correctly aligned. Steps to reproduce ------------------ * create and confirm an invoice that has a line with a long label. * print the general ledger You should see that, even though there's still room on the report, the numbers are wrapped. opw-3436993 opw-3465157 opw-3461247 opw-3462774 Forward-Port-Of: odoo/enterprise#46222
Forward-Port-Of: odoo/enterprise#46279
Original PR description
Forward-Port-Of: odoo/enterprise#46279
Related PR: https://github.com/odoo/odoo/pull/132569 Steps to reproduce ================== - Go to documents - Select a few documents - Open the preview - Go back to the home menu - Go to a project task - Upload an attachment - Click on the preview - Press Escape ``` TypeError: Cannot read properties of null (reading 'querySelectorAll') at getSelectedDocumentsElements ``` Cause of the issue ================== The Attachment Viewer patch is applied everywhere, so al
Original PR description
Related PR: https://github.com/odoo/odoo/pull/132569
Steps to reproduce
==================
- Go to documents
- Select a few documents
- Open the preview
- Go back to the home menu
- Go to a project task
- Upload an attachment
- Click on the preview
- Press Escape
```
TypeError: Cannot read properties of null (reading 'querySelectorAll')
at getSelectedDocumentsElements
```
Cause of the issue
==================
The Attachment Viewer patch is applied everywhere, so also outside
documents.
Solution
========
Extract The AttachmentViewer with document specific behaviours into it's
own class
opw-3456439
Forward-Port-Of: odoo/enterprise#46239
Forward-Port-Of: odoo/enterprise#46038See https://github.com/odoo/enterprise/pull/44040#issuecomment-1669509532 Steps to reproduce ================== - Create a BOM for the table product - Open the mrp tablet - Click on the menu -> The menu should be displayed as a popup Cause of the issue ================== https://github.com/odoo/enterprise/commit/ac3ecd4b42e067cd8b3e15949a66696e7ed421e2 Solution ======== Since dialogs inside the tablet don't use the Dialog component, they need the o_unblock class. This
Original PR description
See https://github.com/odoo/enterprise/pull/44040#issuecomment-1669509532 Steps to reproduce ================== - Create a BOM for the table product - Open the mrp tablet - Click on the menu -> The menu should be displayed as a popup Cause of the issue ================== https://github.com/odoo/enterprise/commit/ac3ecd4b42e067cd8b3e15949a66696e7ed421e2 Solution ======== Since dialogs inside the tablet don't use the Dialog component, they need the o_unblock class. This was already added in the [mrp_workorder_hr]. [mrp_workorder_hr]: https://github.com/odoo/enterprise/blob/c838d40bb657499c6d5e40241cf6d7502e79a683/mrp_workorder_hr/static/src/components/tablet.xml#L5-L11 Forward-Port-Of: odoo/enterprise#46225
This commit restores the list-like homemenu's layout required by the Apple AppStore review and only available when used inside the iOS mobile app. opw-3474193 Forward-Port-Of: odoo/enterprise#46201
Original PR description
This commit restores the list-like homemenu's layout required by the Apple AppStore review and only available when used inside the iOS mobile app. opw-3474193 Forward-Port-Of: odoo/enterprise#46201
When using the round globally rounding method and avatax, the tax on a sale order does not correspond with the tax of its invoice if there are some exemptions Steps to reproduce: 1. Install Sales and module Avatax 2. Go to Settings > Invoicing > Taxes > AvaTax and fill in the credentials from the Odoo credentials document, also change the rounding method to "Round Gloablly" 3. Create a sale order with any customer and any product, in the "Other Info" tab, set the fiscal position to "Automa
Original PR description
When using the round globally rounding method and avatax, the tax on a sale order does not correspond with the tax of its invoice if there are some exemptions Steps to reproduce: 1. Install Sales and module Avatax 2. Go to Settings > Invoicing > Taxes > AvaTax and fill in the credentials from the Odoo credentials document, also change the rounding method to "Round Gloablly" 3. Create a sale order with any customer and any product, in the "Other Info" tab, set the fiscal position to "Automatic Tax Mapping (AvaTax)" 4. Click on "compute taxes using avatax" button, the tax is updated on the sale order 5. If you confirm the sale order and create the invoice, the tax computed on the invoice will be different than the one on the SO Solution: Only take avatax data into consideration when computing the tax on a sale order opw-3437851 opw-3358503 Forward-Port-Of: odoo/enterprise#45446