Monday, May 20, 2024
5 changes · 17.0
Resolved issues and error corrections
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 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
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