Saturday, April 6, 2024
3 changes · saas-17.2
Resolved issues and error corrections
This change updates the online bank synchronization area to work with a platform change introduced in this version. It prevents issues caused by an outdated permission check, helping keep accounting synchronization reliable.
Original PR description
`user_has_groups` has been removed in saas-17.2 (https://github.com/odoo/odoo/pull/151597) but a fw port (https://github.com/odoo/enterprise/pull/59797) didn't take that into account
Miscellaneous changes
Before this commit, when a churned contract was cancelled, the subscription_state was not reset. The resulting filter on SO would be confusing: Group by subscription_state > state After this commit, the churned order subscription-state is reset to draft or renewal quotation when canceled. This allow to reset the canceled order to quotation and to be able to restart the flow if necessary. Forward-Port-Of: odoo/enterprise#59960
Original PR description
Before this commit, when a churned contract was cancelled, the subscription_state was not reset. The resulting filter on SO would be confusing: Group by subscription_state > state After this commit, the churned order subscription-state is reset to draft or renewal quotation when canceled. This allow to reset the canceled order to quotation and to be able to restart the flow if necessary. Forward-Port-Of: odoo/enterprise#59960
**Steps to reproduce:** 1- Navigate to Inventory > Configuration > Warehouses and select the warehouse 2- Click on the Routes smart button and filter by archived routes 3- Unarchive the Replenish on Order (MTO) route 4- Navigate to Sales > Products > Products and create a new product 5- Make the product a Recurring product that has the product type set to storable and the invoicing policy set to ordered quantities 6- Navigate to the Inventory tab and enable the Replenish on Order (MT
Original PR description
**Steps to reproduce:** 1- Navigate to Inventory > Configuration > Warehouses and select the warehouse 2- Click on the Routes smart button and filter by archived routes 3- Unarchive the Replenish on…
**Steps to reproduce:** 1- Navigate to Inventory > Configuration > Warehouses and select the warehouse 2- Click on the Routes smart button and filter by archived routes 3- Unarchive the Replenish on Order (MTO) route 4- Navigate to Sales > Products > Products and create a new product 5- Make the product a Recurring product that has the product type set to storable and the invoicing policy set to ordered quantities 6- Navigate to the Inventory tab and enable the Replenish on Order (MTO) and Manufacture Routes 7- Navigate to Sales and create a new quote and confirm it with the newly created product 8- Click on Create Invoice and then Create Draft Invoice 9- Click on Confirm **Current behavior before PR:** This is happening because while creating the draft invoice we pass the default move type for the invoice in the context and because the attribute 'move_type' has the same name in 'account.move' and 'procurement.group' so when getting the default value to create the procurement group it gets the value in the context which is for the account move so this value is incorrect for the move_type in procurement group **Desired behavior after PR is merged:** We clean the context that was stored for creating the invoice before posting it as this context will not be used anymore opw-3718420 Forward-Port-Of: odoo/enterprise#60118 Forward-Port-Of: odoo/enterprise#59164