diff options
| author | Arnold Moyaux <arm@odoo.com> | 2020-03-17 13:47:15 +0000 |
|---|---|---|
| committer | Arnold Moyaux <arm@odoo.com> | 2020-04-22 07:52:45 +0000 |
| commit | 943da6df0f1d39e8e10869b25c5ba8cc13a2aa54 (patch) | |
| tree | a9bcb2724d00e3fbc13d7feb6635e46279ae2c83 /addons/mrp_subcontracting/tests | |
| parent | b6fe6de9e9638a2d7db2861e976a7aa720d947f1 (diff) | |
[IMP] stock, purchase_stock, mrp: Replenishment Report
New report to easily order missing products in each warehouse.
Orderpoint have a new type: 'manual'. Manual orderpoint are not
trigger by the scheduler but the user could create replenishment
from the report directly. The report use the forecast report in
order to detect missing quantity for today (it does not search
depending the lead time for each product warehouse due to lake
of performance). It compares missing quantity with incoming RFQ
and other ongoing orderpoint. If it still missing a new entry
for replenihsment is created (it's also automaticaly deleted if
the replenihsment has been done another way).
Task: 2161378
Diffstat (limited to 'addons/mrp_subcontracting/tests')
| -rw-r--r-- | addons/mrp_subcontracting/tests/test_subcontracting.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mrp_subcontracting/tests/test_subcontracting.py b/addons/mrp_subcontracting/tests/test_subcontracting.py index ce27039a047..281e32c96ea 100644 --- a/addons/mrp_subcontracting/tests/test_subcontracting.py +++ b/addons/mrp_subcontracting/tests/test_subcontracting.py @@ -238,7 +238,7 @@ class TestSubcontractingFlows(TestMrpSubcontractingCommon): orderpoint_form.product_min_qty = 0.0 orderpoint_form.product_max_qty = 10.0 orderpoint_form.location_id = self.env.company.subcontracting_location_id - orderpoint_form.save() + orderpoint = orderpoint_form.save() # Create a receipt picking from the subcontractor picking_form = Form(self.env['stock.picking']) |
