diff options
| author | Ivan Yelizariev <iel@odoo.com> | 2020-11-26 09:58:54 +0000 |
|---|---|---|
| committer | Ivan Yelizariev <iel@odoo.com> | 2020-11-26 13:20:08 +0000 |
| commit | c0407bcf3d9f91cec0c90599d85625c46b42f012 (patch) | |
| tree | 0f837c19c01d82fb4fbdaf6f15a0bbcf25cfee22 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 6b2d0faf170f7b5061f5facbaa3818e529a2de4c (diff) | |
[FIX] purchase_stock: use max() to compute purchase date
STEPS:
* Create a BoM with two components purchased the same vendor, but with
different "Delivery Lead Time". First component must have lower value
* Create Manufactoring order, Mark as ToDo
* Open created purchase order
BEFORE: Order Date is equal "MO planned day MINUS delivery lead time for the first component"
AFTER: Order Date is equal "MO planned day MINUS maximum amout delivery lead
time for the components"
---
opw-2388031
closes odoo/odoo#62404
X-original-commit: 8f0cc3609ce7a02d0e3f39586a7b0299ab221d48
Signed-off-by: Ivan Yelizariev // IEL <yelizariev@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
