41b2cf3a27118df5be88b6418ea7e2fbcdd666f9
When we enable in the settings 'Get 2 levels of approvals' with a 'Double validation amount', and then create a request for quotation. When we confirm it, even if the total amount of the request for quotation is below the amount set in the settings, the purchase order needs to be approved. We excpect that if a purchase order has a total amount below the validation amount setting, the purchase order is automatically confirmed. So to fix it, we compare the amount when the user click on the button confirm. And immediatly call the function 'button_approve' if the amount is below the double validation amount set in settings. Bug introduced in rev: https://github.com/odoo/odoo/commit/9d4efc81a opw - 694381
…
…
…
…
…
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.
If you are a developer you may type the following command at your terminal:
wget -O- https://raw.githubusercontent.com/odoo/odoo/10.0/setup/setup_dev.py | python
Then follow the developer tutorials
For Odoo employees
To add the odoo-dev remote use this command:
$ ./setup/setup_dev.py setup_git_dev
To fetch odoo merge pull requests refs use this command:
$ ./setup/setup_dev.py setup_git_review
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%