Daily updates from Odoo
Navigate
Branch
Wednesday, March 23, 2022
12 changes
Enhancements to existing features
Event-related screens and barcode templates were updated to use the newer supported template output method. This keeps the event features aligned with current platform standards and helps avoid future compatibility issues without changing day-to-day functionality.
Original PR description
Replace each t-esc by t-out since it's now deprecated in templates task-2458013 COM PR: odoo/odoo#78049
The Barcode App can now recognize GS1 barcodes when users scan products to filter warehouse transfers. This makes it easier to find the right pickings with industry-standard barcode formats and reduces manual searching.
Original PR description
In the Barcode App, it's possible to filter on pickings by scanning a product's barcode, but before this commit, it doesn't work with GS1 barcode. Now, it will try to decompose GS1 barcode and then checks if it has a product part on it. If it is the case, the pickings will be filtered. task-2641528
Resolved issues and error corrections
The Discard button now properly closes affected task dialogs instead of leaving them open. This prevents user confusion and makes cancelling changes in field service project task views behave as expected.
Original PR description
* industry_fsm Prior to this commit some dialogs were not closing when clicking on Discard.
Users can now share a file from a parent workspace even when the file is stored in a child workspace. The shared link correctly shows the selected file, preventing empty portal pages and reducing confusion for document sharing.
Original PR description
To reproduce :
creating workspace A and child workspace A1
uploading a file F on A1, return to parent workspace A
selecting file F and get share link
accessing link leads to portal without any file
When accessing link odoo searches for the file only in the selected folder
without taking in count children folders
this behaviour is caused by the domain ('folder_id', '=', self.folder_id.id)
To fix that the domain was changed so that children folders are taken in count.
opw-2739521Installing the Sign app from the web client now handles missing location session data without crashing. This allows administrators to complete installation and load demo data smoothly.
Original PR description
Fix the error, by bypassing request.session['geoip'] while 'geoip' is not in the request.session before this commit: If the administrator install Sign from web browser, the demo data cannot be loaded without triggering an error.
Code cleanup and technical improvements
This change reorganizes shared testing utilities across several Odoo Enterprise modules without changing customer-facing features. It helps keep automated tests easier to maintain, supporting more reliable future development.
Original PR description
\* = account_invoice_extract, approvals, documents, documents_spreadsheet_bundle, voip, web_studio, website_helpdesk_livechat Task-2759586 See https://github.com/odoo/odoo/pull/86791
Miscellaneous changes
1. Go to Inventory>Configuration>[Mexico]Vehicle Setups 2. Create a [DEMO] setup having a blank line in Intermediaries 3. Create a SO with a deliverable product, confirm 4. Open delivery, under MX EDI tab fill the Vehicle Setup with [DEMO] 5. Validate transfer and click 'Generate Delivery Guide' A traceback will raise. Because of the empty line addded at step 2. the template will not be able to sort properly The type of the intermediaries should be required opw-2747529 Forward-Port-
Original PR description
1. Go to Inventory>Configuration>[Mexico]Vehicle Setups 2. Create a [DEMO] setup having a blank line in Intermediaries 3. Create a SO with a deliverable product, confirm 4. Open delivery, under MX EDI tab fill the Vehicle Setup with [DEMO] 5. Validate transfer and click 'Generate Delivery Guide' A traceback will raise. Because of the empty line addded at step 2. the template will not be able to sort properly The type of the intermediaries should be required opw-2747529 Forward-Port-Of: odoo/enterprise#25047
Steps to repoduce: - In Documents > Configuration > Workspace, select Finance - Click on the actions "7 action" - Select the action "Create Bill" - Go in actions and delete the tag 2022 - Back in Documents try to convert a document to a bill Issue: Traceback expecting a tag Cause: We try to update a non existing tag (when there is no tag defined for an action) Solution: Test if there is a tag defined. If yes, goes as usual. If not, acts like a `remove` action opw-2759944 For
Original PR description
Steps to repoduce: - In Documents > Configuration > Workspace, select Finance - Click on the actions "7 action" - Select the action "Create Bill" - Go in actions and delete the tag 2022 - Back in Documents try to convert a document to a bill Issue: Traceback expecting a tag Cause: We try to update a non existing tag (when there is no tag defined for an action) Solution: Test if there is a tag defined. If yes, goes as usual. If not, acts like a `remove` action opw-2759944 Forward-Port-Of: odoo/enterprise#25288 Forward-Port-Of: odoo/enterprise#24585
Reproduction: 1. Install eCommerce, and complete a checkout using the Wire Transfer payment, but don’t confirm the order at the website backend 2. Go to Orders > Unpaid Orders, the new created order should be there 3. Go to Reporting > Online Sales, select the "Unpaid Orders" filter 4. No pivot table shown for the unpaid orders Reason: the pivot table is restricted for confirmed orders only (‘sale’ or ‘done’), the unpaid orders filter in Reporting has a different domain from Orders
Original PR description
Reproduction: 1. Install eCommerce, and complete a checkout using the Wire Transfer payment, but don’t confirm the order at the website backend 2. Go to Orders > Unpaid Orders, the new created order should be there 3. Go to Reporting > Online Sales, select the "Unpaid Orders" filter 4. No pivot table shown for the unpaid orders Reason: the pivot table is restricted for confirmed orders only (‘sale’ or ‘done’), the unpaid orders filter in Reporting has a different domain from Orders Fix: Align the unpaid order domain in Reporting. Remove the domain constraint for pivot table. opw-2754932 Forward-Port-Of: odoo/enterprise#25268
Forward-Port-Of: odoo/enterprise#25472
Original PR description
Forward-Port-Of: odoo/enterprise#25472
Forward-Port-Of: odoo/enterprise#25458
Original PR description
Forward-Port-Of: odoo/enterprise#25458
Steps to follow - Go to Manufacturing - Open a Manufacturing order - Open studio - Edit the subview list - Add a new field after the last column An invalid xpath is generated : `//field[@name='move_raw_ids']/tree//button_group` Cause of the issue When multiple buttons are adjacents in a list view, they are grouped together under a single button_group. Only the clientside is aware of this. Solution When adding an element before a button_group, target th
Original PR description
Steps to follow - Go to Manufacturing - Open a Manufacturing order - Open studio - Edit the subview list - Add a new field after the last column An invalid xpath is generated : `//field[@name='move_raw_ids']/tree//button_group` Cause of the issue When multiple buttons are adjacents in a list view, they are grouped together under a single button_group. Only the clientside is aware of this. Solution When adding an element before a button_group, target the first button inside it. When adding an element after a button_group, target the last button inside it. We also need to undo the button grouping before computing the xpath client side `xpath_info`. Other issues - The button name wasn't passed in the `operation.target.attrs` -> Add 'name' to the list of attributes to keep opw-2778985 Forward-Port-Of: odoo/enterprise#25303