diff options
| author | Pratima Gupta <pgu@odoo.com> | 2017-09-26 19:27:43 -0700 |
|---|---|---|
| committer | Joren Van Onder <jov@odoo.com> | 2017-09-26 21:36:10 -0700 |
| commit | 55c0221e38379b9dc299c588c6ceca947ba5bd4f (patch) | |
| tree | 60a2794f70bdafb0156b6aca18802b2528bc4d0d /addons/mrp/wizard/__init__.py | |
| parent | a5de785969cdca79c8cf83210e1bf0f0c1636022 (diff) | |
[IMP] stock, mrp{,_repair}: warn when operating on out of stock products
This implements a warning when the user tries to do any of the
following operations on a product that is not in stock:
- Scrapping
- Unbuilding
- Repairing
The warning displays the current stock of the product in question per
location which can be helpful in case the user selected the wrong
location.
Diffstat (limited to 'addons/mrp/wizard/__init__.py')
| -rw-r--r-- | addons/mrp/wizard/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/mrp/wizard/__init__.py b/addons/mrp/wizard/__init__.py index bf91eb292fa..83ad5a17ef4 100644 --- a/addons/mrp/wizard/__init__.py +++ b/addons/mrp/wizard/__init__.py @@ -3,3 +3,4 @@ from . import mrp_product_produce from . import change_production_qty +from . import stock_warn_insufficient_qty |
