679cf0d83fa527ca28c3debc347dedac0d5a5a5b
Usecase to reproduce: - Enable 'Managers must approve orders' - Set agreement type as 'exclusive' - Connect as purchase user - Create a requisition and an RFQ linked to it - Confirm the RFQ It raises a usererror that ask to close other PO linked to requisition. It happens because the purchase requisition code do not take care of double validation on PO. It will try to close the requisition once button_confirm is called. However it will only write 'to approve' on PO state and thus trigger the requistion error will be raise since all linked PO are not 'done' or 'cancel'. In order to fix it, the action_done on requisition should be call on button_approve instead of button_confirm. (button_approve is automatically called when double validation is not enable). Task: #1884410 Closes #28068 closes odoo/odoo#29049
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%