From c314cb4e98f820e14b515791de55f2b8849fadc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Voet=20=28ryv=29?= Date: Thu, 26 Nov 2020 11:22:11 +0000 Subject: [PATCH] [REF] stock: clean demo data Group demo data by models, it implies removing 3 files. task-2373638 closes odoo/odoo#61027 Related: odoo/upgrade#1998 Signed-off-by: Arnold Moyaux --- addons/stock/__manifest__.py | 5 +- addons/stock/data/procurement_demo.xml | 83 ------------- addons/stock/data/stock_demo.xml | 13 -- addons/stock/data/stock_demo_pre.xml | 113 ++++++++++++++++++ .../stock/data/stock_location_demo_cpu1.xml | 14 --- .../stock/data/stock_location_demo_cpu3.xml | 27 ----- addons/stock/data/stock_orderpoint_demo.xml | 9 ++ 7 files changed, 123 insertions(+), 141 deletions(-) delete mode 100644 addons/stock/data/procurement_demo.xml delete mode 100644 addons/stock/data/stock_location_demo_cpu1.xml delete mode 100644 addons/stock/data/stock_location_demo_cpu3.xml diff --git a/addons/stock/__manifest__.py b/addons/stock/__manifest__.py index e7a2c2f03d3..e5c01fb68c9 100644 --- a/addons/stock/__manifest__.py +++ b/addons/stock/__manifest__.py @@ -12,12 +12,9 @@ 'sequence': 25, 'demo': [ 'data/stock_demo_pre.xml', - 'data/procurement_demo.xml', 'data/stock_demo.xml', - 'data/stock_orderpoint_demo.xml', 'data/stock_demo2.xml', - 'data/stock_location_demo_cpu1.xml', - 'data/stock_location_demo_cpu3.xml', + 'data/stock_orderpoint_demo.xml', ], 'data': [ 'security/stock_security.xml', diff --git a/addons/stock/data/procurement_demo.xml b/addons/stock/data/procurement_demo.xml deleted file mode 100644 index a12def4f328..00000000000 --- a/addons/stock/data/procurement_demo.xml +++ /dev/null @@ -1,83 +0,0 @@ - - - - - product - - - - - product - - - - product - - - - product - - - - product - - - - product - - - - product - - - - product - - - - product - - - - product - - - - product - - - - product - - - - product - - - - product - - - - product - - - - product - - - - product - - - - product - - - - product - - - - - diff --git a/addons/stock/data/stock_demo.xml b/addons/stock/data/stock_demo.xml index 962f89d9d6b..d63bad9c490 100644 --- a/addons/stock/data/stock_demo.xml +++ b/addons/stock/data/stock_demo.xml @@ -200,19 +200,6 @@ - - product - - - product - - - product - - - product - - Starting Inventory diff --git a/addons/stock/data/stock_demo_pre.xml b/addons/stock/data/stock_demo_pre.xml index 57fac7bc229..acee1ea666a 100644 --- a/addons/stock/data/stock_demo_pre.xml +++ b/addons/stock/data/stock_demo_pre.xml @@ -15,5 +15,118 @@ + + Order Processing + internal + + + + Dispatch Zone + internal + + + + Gate A + internal + + + + Gate B + internal + + + + + product + + + + product + + + + product + + + + product + + + + product + + + + product + + + + product + + + + product + + + + product + + + + product + + + + product + + + + product + + + + product + + + + product + + + + product + + + + product + + + + product + + + + product + + + + product + + + + product + + + + product + + + + product + + + + product + + diff --git a/addons/stock/data/stock_location_demo_cpu1.xml b/addons/stock/data/stock_location_demo_cpu1.xml deleted file mode 100644 index dd564f21166..00000000000 --- a/addons/stock/data/stock_location_demo_cpu1.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - 20.0 - 10.0 - - - - - - - - - diff --git a/addons/stock/data/stock_location_demo_cpu3.xml b/addons/stock/data/stock_location_demo_cpu3.xml deleted file mode 100644 index 08d4cf55dca..00000000000 --- a/addons/stock/data/stock_location_demo_cpu3.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - Order Processing - internal - - - - - Dispatch Zone - internal - - - - - Gate A - internal - - - - - Gate B - internal - - - - diff --git a/addons/stock/data/stock_orderpoint_demo.xml b/addons/stock/data/stock_orderpoint_demo.xml index eab6be763f5..a677f4be169 100644 --- a/addons/stock/data/stock_orderpoint_demo.xml +++ b/addons/stock/data/stock_orderpoint_demo.xml @@ -30,6 +30,15 @@ + + 20.0 + 10.0 + + + + + + \ No newline at end of file