Commit Graph

8 Commits

Author SHA1 Message Date
Atchuthan, Sodexis
fded3db3a4 [FIX] moved field potential_qty to stock_available module 2016-11-04 16:30:17 +05:30
Cyril Gaudin
8993eb9618 V9 migration modifications.
* mrp_bom.name has been deleted.
    * mrp_bom_line.type moved to mrp_bom.type.
    * Fix missing group_mrp_user issue.
    * Change versions
2016-03-30 10:41:28 +02:00
Cyril Gaudin
489ea73b01 stock_available_mrp: fix recursive potential_qty in list view 2016-03-21 16:04:40 +01:00
Cyril Gaudin
6cd5533485 bom stock: small improvements and add test for field choice 2016-03-21 16:04:40 +01:00
Laetitia Gangloff
dcaf2f82f3 stock_available / stock_available_mrp : add possibility to choose which field use to compute potential 2016-03-21 16:04:40 +01:00
Cyril Gaudin
4107c1d52b stock_available_mrp: fix BOM qty (multi-units, efficiency) 2016-03-21 16:04:40 +01:00
Laurent Mignon (ACSONE)
fe21ce9d91 [FIX] Browse mrp.bom as current user
sudo is not required since mrp.bom are readable to groups with access to the qty_x fields on a product. Moreover using sudo to retrive the bom will ignore the company_id defined on the bom
2016-03-21 16:04:40 +01:00
Lionel Sausin
8e9c8e68bf [MIGR] stock_available_mrp: migrate to v8
Compute potential quantities for both product templates and variants. To keep the code simple, only the biggest potential of any single variant is accounted for in the template's potential.
Take all levels of phantom BoM into account, respects validity dates etc. thanks to the use of the standard method _bom_explode, as suggested by @gdgellatly in https://github.com/OCA/stock-logistics-warehouse/pull/5#issuecomment-66902191
Improve tests, rewritten in python.
Adhere to new file/manifest/README conventions.
Simplify copyright headers
2016-03-21 16:04:40 +01:00