Daily updates from Odoo
Saturday, December 7, 2024
4 changes · 18.0
Miscellaneous changes
The `OpenMoveWidget` was usually called from an `account.move.line`, since https://github.com/odoo/enterprise/commit/6ec55979a79a959b0a7a784ceaa5cdc0b7854182 it is called from `account.move`. With this commit, by using `this.props.record.resModel`, we allow the model to be either `account.move` or `account.move.line`, any other models would raise an error as there is no `action_open_business_doc` defined in other models. Steps: - Install 'Accounting` - Create an asset with passed depreciation
Original PR description
The `OpenMoveWidget` was usually called from an `account.move.line`, since https://github.com/odoo/enterprise/commit/6ec55979a79a959b0a7a784ceaa5cdc0b7854182 it is called from `account.move`. With this commit, by using `this.props.record.resModel`, we allow the model to be either `account.move` or `account.move.line`, any other models would raise an error as there is no `action_open_business_doc` defined in other models. Steps: - Install 'Accounting` - Create an asset with passed depreciation entries and confirm it - Go to 'Depreciation Board' tab - Click on a posted entry name -> We land on an other move (in fact, move that have the line with the same id as the depreciation move) or an error (non existing record) opw-4357468 Forward-Port-Of: odoo/odoo#189861
Description of the issue/feature this PR addresses: When there is more than one mail.activity.schedule records created in a process, the function `_compute_plan_available_ids()` will face the error Expected singleton. Current behavior before PR: This issue will not happen when launching the activity plan on WUI because users open one launch plan wizard at a time. When activity plans need to launch simultaneously, we need to create a separate wizard for each plan, this process will caus
Original PR description
Description of the issue/feature this PR addresses: When there is more than one mail.activity.schedule records created in a process, the function `_compute_plan_available_ids()` will face the error Expected singleton. Current behavior before PR: This issue will not happen when launching the activity plan on WUI because users open one launch plan wizard at a time. When activity plans need to launch simultaneously, we need to create a separate wizard for each plan, this process will cause the issue. Desired behavior after PR is merged: The function `_compute_plan_available_ids()` will work properly. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#189843
- Created a new module `l10n_mt_pos` to provide a compliance letter required by Maltese businesses for requesting an EXO number. - Automatically installs for Malta by default. - Added a menu item under "Reporting" > "Compliance Letter" to allow users to download the document. Task ID: 4373339 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#189868 Forward-Port-Of: odoo/odoo#189640
Original PR description
- Created a new module `l10n_mt_pos` to provide a compliance letter required by Maltese businesses for requesting an EXO number. - Automatically installs for Malta by default. - Added a menu item under "Reporting" > "Compliance Letter" to allow users to download the document. Task ID: 4373339 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#189868 Forward-Port-Of: odoo/odoo#189640
Versions -------- - 16.0+ Steps ----- 1. Create a rental order; 2. cancel said rental order; 3. go to Schedule; 4. change search to show all rental orders; 5. hover over cancelled rental order. Issue ----- It's still showing its status as 'reserved'. Cause ----- The `report_line_status` field assumes any line that isn't picked up or returned is reserved. Solution -------- If the order's state is `cancel`, display the report line as "Cancelled". opw-4342420 Forward-P
Original PR description
Versions -------- - 16.0+ Steps ----- 1. Create a rental order; 2. cancel said rental order; 3. go to Schedule; 4. change search to show all rental orders; 5. hover over cancelled rental order. Issue ----- It's still showing its status as 'reserved'. Cause ----- The `report_line_status` field assumes any line that isn't picked up or returned is reserved. Solution -------- If the order's state is `cancel`, display the report line as "Cancelled". opw-4342420 Forward-Port-Of: odoo/enterprise#75245 Forward-Port-Of: odoo/enterprise#75066