summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/widgets
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2020-02-14 14:47:37 +0000
committerNicolas Martinelli <nim@odoo.com>2020-02-18 09:38:36 +0000
commit1f68f33c97c986cc8d16009ed74222adbcf41f45 (patch)
tree32bd6ef7f8f00bcdfe3a16a94eb739d63c955c2b /addons/web/static/src/js/widgets
parentb1cee5cc668b929f4179d80e597195d2836de816 (diff)
[FIX] stock: MTSO in manufacturing
- Install MRP and Purchase - Configure the rule 'Stock → YourCompany: Production (MTO)' with: Supply Method: Take From Stock, if unavailable, Trigger Another Rule - Create a product AB with route 'Manufacture' - Create products A & B with routes 'Buy' and 'Replenish on Order (MTO)', set a supplier - Create a BOM for AB with: Product A: 2.0 Units Product B: 3.0 Units - Create a MO for 1.0 Unit of AB, 'Mark as Todo' No RFQ is created for A & B while there is no stock available and a supplier is set. This is because the 'MTSO' logic is located in `_run_pull`, which is never called in this use case since no procurement is created. We need to apply the same logic in `_adjust_procure_method`, which is called at MO confirmation. opw-2189694 opw-2194739 X-original-commit: 9ae3b3e8d2694f5560913682824fd10e60de14a4
Diffstat (limited to 'addons/web/static/src/js/widgets')
0 files changed, 0 insertions, 0 deletions