From a05b21d74bde2b242e6d85f2d1ecf3e3638fde20 Mon Sep 17 00:00:00 2001 From: svs-odoo Date: Thu, 22 Aug 2019 09:18:48 +0000 Subject: [IMP] *: remove sublocation for demodata Demo data product's quantities are no more put in sublocation as by default, multilocation aren't active. Also, adapts `test_location_usage` because as we moved quantities from sublocations to the main stock location, the stock warehouse will have reserved quantity due to a backorder created by demo data. In this test, we try to change location as a scrap location, what we can't do if this location has some reserved quantities. Task #1970460 --- addons/mrp/data/mrp_demo.xml | 16 ++++++++-------- addons/sale_stock/data/sale_order_demo.xml | 4 ++-- addons/stock/data/stock_demo.xml | 30 +++++++++++++++--------------- 3 files changed, 25 insertions(+), 25 deletions(-) diff --git a/addons/mrp/data/mrp_demo.xml b/addons/mrp/data/mrp_demo.xml index 6779bd97b66..d1ae2d9ffdc 100644 --- a/addons/mrp/data/mrp_demo.xml +++ b/addons/mrp/data/mrp_demo.xml @@ -511,14 +511,14 @@ 50 - + 40 - + @@ -526,7 +526,7 @@ 50 - + @@ -534,7 +534,7 @@ 50 - + @@ -542,28 +542,28 @@ 50 - + 20 - + 30 - + 30 - + diff --git a/addons/sale_stock/data/sale_order_demo.xml b/addons/sale_stock/data/sale_order_demo.xml index 6db1b10b172..98f75556797 100644 --- a/addons/sale_stock/data/sale_order_demo.xml +++ b/addons/sale_stock/data/sale_order_demo.xml @@ -35,14 +35,14 @@ 65.0 - + 70.0 - + diff --git a/addons/stock/data/stock_demo.xml b/addons/stock/data/stock_demo.xml index 1ce80de5fa3..aff0e10fbb8 100644 --- a/addons/stock/data/stock_demo.xml +++ b/addons/stock/data/stock_demo.xml @@ -21,105 +21,105 @@ 16.0 - + 16.0 - + 18.0 - + 500.0 - + 22.0 - + 8.0 - + 26.0 - + 30.0 - + 45.0 - + 50.0 - + 55.0 - + 60.0 - + 10.0 - + 2.0 - + 80.0 - + -- cgit v1.2.3