Monday, May 20, 2024
9 changes · 17.0
Resolved issues and error corrections
This update resolves a technical error that occurred when users clicked the close button in the XML editor selection box while using Studio in developer mode. The fix removes the problematic close button from the interface to prevent the error from happening.
Original PR description
Before this commit, When the developer mode is enabled and the user click on the available "x" button in the selection box, a traceback will be occur. Steps to Reproduce : 1. Toggle On the developer mode 2. Go to any app ( here Sales ) ---> Toggle Studio 3. Click on Reports ---> Select any Report 4. Click on Edit XML sources --> Click on the "x" button available 5. Traceback occurs Video link : [link](https://drive.google.com/file/d/1Qf6VI118YypPQI8Je6DP4xkfjSVqwCC_/view) Traceback message link : https://pastebin.com/cunYkfBm after the commit,The "x" button in the selection box won't be shown to users. Task-3866142 Forward-Port-Of: odoo/enterprise#61283
When a visitor checks in at the frontdesk kiosk, the host and responsible staff will now receive notifications with a chat window that opens automatically. Previously, notifications were sent through a system bot account that couldn't open chat windows, limiting communication effectiveness. This change enables direct, immediate communication with staff when visitors arrive.
Original PR description
In this PR, when visitor visits frontdesk with kiosk host and resposibiles will notify with open chat window. priviously channel is opening with odoobot user and opening a chat window was restricted for the Odoobot user to prevent spamming user. task-3790300
This update ensures that the rental module uses the same data format as the standard sales module when processing invoiced lot values. By making this change, the code becomes more consistent and easier to maintain, reducing confusion for developers working with these related features.
Original PR description
`_get_invoiced_lot_values` in module `sale_stock` returns a key lot_id. https://github.com/odoo/odoo/blob/725f1923cb34be1188fe0bb83be5d55414aebef3/addons/sale_stock/models/account_move.py#L99-L106 All related methods should do the same, for coherence and easier inherit opw-3847889 Forward-Port-Of: odoo/enterprise#62253
This fix resolves an error that prevented users from exporting Spanish tax reports to BOE (Boletín Oficial del Estado) format. The system was calling the wrong method, causing the export process to fail. Now users can properly access the BOE export wizard to enter required additional data for their tax filings.
Original PR description
**Steps to reproduce:** - Install l10n_es_reports - Switch to a Spanish company (e.g. ES Company) - Go to "Accounting / Reporting / Statement Reports / Tax Report" - Check that a Spanish Tax Report is selected (i.e. Mod 111/115/303/347/349) - Click on "Save" - Select "BOE" for "Export To" option - Export **Issue:** A traceback is raised: "TypeError: export_boe() takes 2 positional arguments but 3 were given" **Cause:** The wrong method is called. "export_boe" is called instead of "open_boe_wizard". The BOE wizard should be opened to enter extra manual data. opw-3856749 Forward-Port-Of: odoo/enterprise#61945
This update corrects a configuration error in the accounting payment registration system where a field was incorrectly marked as computed without the necessary calculation method. This fix ensures the system functions properly and prevents potential errors when processing payments.
Original PR description
`writeoff_account_id` is defined as a computed field but the method `_compute_writeoff_account_id` does not exist. opw-3931425 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#166058 Forward-Port-Of: odoo/odoo#165879
This update ensures that the Point of Sale module uses the same data format as the Sales & Inventory module when retrieving invoiced lot information. By standardizing how lot IDs are returned across related methods, the system becomes more consistent and easier to maintain and extend.
Original PR description
_get_invoiced_lot_values in module `sale_stock` returns a key lot_id. https://github.com/odoo/odoo/blob/725f1923cb34be1188fe0bb83be5d55414aebef3/addons/sale_stock/models/account_move.py#L99-L106 All related methods should do the same, for coherence and easier inherit opw-3847889 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#165035
This fix prevents products that were added to a sales order from being accidentally removed when a sales template is removed. The change restores the previous behavior to ensure customer orders remain intact during template modifications, improving data reliability and user experience.
Original PR description
Keep logic as it was before the onchange -> computes refactoring, so that (default) products added to an order before the onchange execution are not dropped. Forward-Port-Of: odoo/odoo#166010
Miscellaneous changes
Steps to reproduce: ------------------- - Install `Documents` module - Go to Documents -> Configuration -> Workspaces - Create a workspace with a sub workspace - Go to list view Issue: ------ The display name of the sub workspace is not correct; It should also add the parent workspace name in the display name. Cause: ------ The following commit added a second `_compute_display_name` method that override the flow that add the parent workspace to the sub workspace name. https://git
Original PR description
Steps to reproduce: ------------------- - Install `Documents` module - Go to Documents -> Configuration -> Workspaces - Create a workspace with a sub workspace - Go to list view Issue: ------ The display name of the sub workspace is not correct; It should also add the parent workspace name in the display name. Cause: ------ The following commit added a second `_compute_display_name` method that override the flow that add the parent workspace to the sub workspace name. https://github.com/odoo/enterprise/commit/ca7efce8f7bdb497f39a8438b5c266a7861d9a92 Solution: --------- Merge the 2 `_compute_display_name`. opw-3835887 Forward-Port-Of: odoo/enterprise#62349
Revert of the commit since introduced the wrong behavior: workspace contains the wrong name. opw-3835887 Forward-Port-Of: odoo/enterprise#62768
Original PR description
Revert of the commit since introduced the wrong behavior: workspace contains the wrong name. opw-3835887 Forward-Port-Of: odoo/enterprise#62768