diff options
| author | Arnold Moyaux <arm@odoo.com> | 2020-03-17 13:07:14 +0000 |
|---|---|---|
| committer | Arnold Moyaux <arm@odoo.com> | 2020-04-22 07:58:04 +0000 |
| commit | fc692354b60aaa5e4331051056c758d21bc5b201 (patch) | |
| tree | 7d9d285eeb6b7daad971837d746b29f1ac12ebd0 /addons/mrp/models/__init__.py | |
| parent | 943da6df0f1d39e8e10869b25c5ba8cc13a2aa54 (diff) | |
[IMP] mrp, stock: default route on orderpoints
Set a default route on orderpoint created by the replenishment report.
First it select the first route on the product if it exists (it's
uselss since it's a preferred route on the report but it's used for
clarity). If the product has no route then it tries to guess it
with vendor pricelist or BoM on the product.
Task: 2161378
Diffstat (limited to 'addons/mrp/models/__init__.py')
| -rw-r--r-- | addons/mrp/models/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/mrp/models/__init__.py b/addons/mrp/models/__init__.py index db69451b2fe..237e0273151 100644 --- a/addons/mrp/models/__init__.py +++ b/addons/mrp/models/__init__.py @@ -14,6 +14,7 @@ from . import mrp_workorder from . import product from . import res_company from . import stock_move +from . import stock_orderpoint from . import stock_picking from . import stock_production_lot from . import stock_rule |
