diff options
| author | Jorge Pinna Puissant <jpp@odoo.com> | 2019-05-02 11:42:52 +0000 |
|---|---|---|
| committer | Jorge Pinna Puissant <jpp@odoo.com> | 2019-07-16 11:51:57 +0000 |
| commit | 07b8eff60ff328058032943b64536d9a47e70d6f (patch) | |
| tree | aeb30ef60144271d46f5871b2db74605bd251539 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | d8072d54acf81f9482145994f6453dd660580be0 (diff) | |
[FIX] mrp: recursive bom with different quantities
Backport from 12 to saas-11.3 (original commit : 97b44806f5121e97b62ba25da910e77e26a9424d)
Having 4 products and 3 BoMs:
BoM 1:
product = Finished
quantity = 100 units
- Semi-Finished 10 units
BoM 2:
product = Semi-Finished
quantity = 10 units
- Assembly 10 units
BoM 3:
product = Assembly
quantity = 10 units
- Raw Material 10 units (product.product 5$/unit)
Before this commit, the price for 100 units of Finished product was
500$, which is wrong. The price was calculated using 100 units of
Semi-Finished product and not 10 units as it should be.
Now, the price is 50$
opw-1973347
closes odoo/odoo#33115
Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com>
closes odoo/odoo#34900
Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
