diff options
| author | Hetashree Chauhan <hch@odoo.com> | 2019-06-10 09:40:11 +0000 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2019-07-24 09:35:37 +0000 |
| commit | 33c636cf28a99e3f737b41ddfc990478dd7b1ffa (patch) | |
| tree | b5c8a4ef5a3016523f199b38b57842e881e2cd5b /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 66c49dd451e8debdb3d28c22cda0d4e80b383501 (diff) | |
[IMP] product: find best price for a vendor based on min qty.
Purpose of this task:
Choose a vendor with the minimum price, respecting the quantity
Before commit:
The system was choosing the vendor by sequence,
But if there are any vendor having a different price for the same product,
based on ordered quantity, then the system can't choose the lowest price.
After this commit:
If there are vendors having different price based on the ordered quantity,
then the system will choose the vendor based on the quantity and lowest price.
task-1947351
closes: https://github.com/odoo/odoo/pull/34049
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
