summaryrefslogtreecommitdiff
path: root/odoo/modules/module.py
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2020-03-04 16:40:20 +0000
committerNicolas Martinelli <nim@odoo.com>2020-03-05 16:02:38 +0000
commit3c4c625a0ab35341cd75a80137c8ff6d40daf814 (patch)
treea9aafb1e0bfddb139cebd6d582e9906e413215f6 /odoo/modules/module.py
parentcdddd45a739139411f742664dc35ed30b1856734 (diff)
[FIX] sale_mrp: delivered qty in dropship
- Activate Dropshipping - Create 3 products: KIT AB, A, B All have the Dropship route and a supplier set - Create a BOM of type kit: KIT AB is composed of A & B - Create a SO for 1 unit of KIT AB, validate - Validate the created PO - Deliver the products The delivered quantity remains zero. This happens because the `bom_line_id` was not written on the `stock.move`. Indeed, the latter is created from a PO, not from a SO. Since the PO doesn't have a `bom_line_id` field, the information is lost. As a solution, we apply the 'all or nothing' policy in case of dropshipping. opw-2207118 closes odoo/odoo#47014 X-original-commit: 6016476952f53097f8b04f34bdbaf09c12e431fe Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'odoo/modules/module.py')
0 files changed, 0 insertions, 0 deletions