Commit Graph

15 Commits

Author SHA1 Message Date
Víctor Martínez
6ad6a36495 [MIG] stock_available_mrp: Migration to 13.0 2021-05-19 16:40:46 +02:00
Víctor Martínez
84a04a66d0 [IMP] stock_available_mrp: black, isort, prettier 2021-05-13 16:17:07 +02:00
Florian da Costa
047485dbbb Make stock_available_mrp compatible with other modules like stock_available_immediately 2021-05-13 16:16:30 +02:00
Florian da Costa
779c73a3ae Migrate stock_available_mrp to v12 2021-05-13 16:16:30 +02:00
Timon Tschanz
6a444a5bcc [11.0][MIG] port stock_available_mrp to 11.0 2021-05-13 16:16:30 +02:00
Timon Tschanz
1daa97a8e5 [FIX] stock_available_mrp: remove duplicate button + fix calculation of immediately usable qty 2021-05-13 16:16:30 +02:00
Cédric Pigeon
7351ff7e76 [ADD] include new improvments 2021-05-13 16:16:30 +02:00
Denis Roussel
922d42d62f [IMP] stock_available_mrp: readability + change compute bom_id + use recordset + Condition never statisfied 2021-05-13 16:16:30 +02:00
Cédric Pigeon
42470f1f3b [10.0][MIG] port stock_available_mrp to 10.0 2021-05-13 16:16:30 +02:00
Cyril Gaudin
c57208670a 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
2021-05-13 16:16:30 +02:00
Cyril Gaudin
4d2b9567e7 [FIX+IMP] stock_available_mrp: fix recursive potential_qty in list view + small improvements 2021-05-13 16:16:30 +02:00
Laetitia Gangloff
fb41ccd372 stock_available / stock_available_mrp : add possibility to choose which field use to compute potential 2021-05-13 16:16:30 +02:00
Cyril Gaudin
3801d3481c stock_available_mrp: fix BOM qty (multi-units, efficiency) 2021-05-13 16:16:30 +02:00
Laurent Mignon (ACSONE)
92de1c7455 [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
2021-05-13 16:16:30 +02:00
Lionel Sausin
e13f22c1ca [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
2021-05-13 16:16:30 +02:00