diff --git a/MANIFEST.in b/MANIFEST.in
index 501657d122..f040e5e2bc 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -6,6 +6,7 @@ include CHANGELOG
include LICENSE
include tryton.cfg
include *.xml
+include view/*.xml
include *.odt
include locale/*.po
include doc/*
diff --git a/bom.xml b/bom.xml
index 1ccc688703..5ec740ed32 100644
--- a/bom.xml
+++ b/bom.xml
@@ -6,35 +6,13 @@ this repository contains the full copyright notices and license terms. -->
production.bom
tree
-
-
-
-
-
- ]]>
-
+ bom_list
production.bom
form
-
-
-
-
-
-
-
-
-
-
-
-
-
- ]]>
-
+ bom_form
@@ -78,36 +56,12 @@ this repository contains the full copyright notices and license terms. -->
production.bom.input
tree
-
-
-
-
-
-
-
- ]]>
-
+ bom_input_list
production.bom.input
form
-
-
-
-
-
-
-
-
-
-
-
-
-
- ]]>
-
+ bom_input_form
@@ -129,36 +83,12 @@ this repository contains the full copyright notices and license terms. -->
production.bom.output
tree
-
-
-
-
-
-
-
- ]]>
-
+ bom_output_list
production.bom.output
form
-
-
-
-
-
-
-
-
-
-
-
-
-
- ]]>
-
+ bom_output_form
@@ -181,46 +111,19 @@ this repository contains the full copyright notices and license terms. -->
production.bom.tree
tree
childs
-
-
-
-
-
-
-
- ]]>
-
+ bom_tree_tree
production.bom.tree.open.start
form
-
-
-
-
-
-
-
-
-
-
- ]]>
-
+ bom_tree_open_start_form
production.bom.tree.open.tree
form
-
-
-
-
- ]]>
-
+ bom_tree_open_tree_form
diff --git a/configuration.xml b/configuration.xml
index 11350526df..172dae59e1 100644
--- a/configuration.xml
+++ b/configuration.xml
@@ -7,14 +7,7 @@ this repository contains the full copyright notices and license terms. -->
production.configuration
form
-
-
-
-
-
- ]]>
-
+ configuration_form
product.product-production.bom
tree
-
-
-
-
-
- ]]>
-
+ product_bom_list
product.product-production.bom
tree
-
-
-
-
-
- ]]>
-
+ product_bom_list_sequence
product.product-production.bom
form
-
-
-
-
-
-
-
-
-
- ]]>
-
+ product_bom_form
product.product
-
-
-
-
-
-
-
-
- ]]>
-
+ product_form
diff --git a/production.xml b/production.xml
index 12ab11f6e4..e59b88f98a 100644
--- a/production.xml
+++ b/production.xml
@@ -56,79 +56,13 @@ this repository contains the full copyright notices and license terms. -->
production
tree
-
-
-
-
-
-
-
-
-
-
- ]]>
-
+ production_list
production
form
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ]]>
-
+ production_form
@@ -318,17 +252,7 @@ this repository contains the full copyright notices and license terms. -->
production.assign.failed
form
-
-
-
-
-
-
- ]]>
-
+ assign_failed_form
diff --git a/setup.py b/setup.py
index 4156f55273..174af20b12 100644
--- a/setup.py
+++ b/setup.py
@@ -45,7 +45,7 @@ setup(name='trytond_production',
],
package_data={
'trytond.modules.production': (info.get('xml', [])
- + ['tryton.cfg', 'locale/*.po', 'tests/*.rst']),
+ + ['tryton.cfg', 'view/*.xml', 'locale/*.po', 'tests/*.rst']),
},
classifiers=[
'Development Status :: 5 - Production/Stable',
diff --git a/stock.xml b/stock.xml
index 5b66c33fba..2f1c9a8ac4 100644
--- a/stock.xml
+++ b/stock.xml
@@ -7,18 +7,7 @@ this repository contains the full copyright notices and license terms. -->
stock.location
-
-
-
-
-
-
-
-
- ]]>
-
+ location_form
diff --git a/view/assign_failed_form.xml b/view/assign_failed_form.xml
new file mode 100644
index 0000000000..227b3548cf
--- /dev/null
+++ b/view/assign_failed_form.xml
@@ -0,0 +1,10 @@
+
+
+
diff --git a/view/bom_form.xml b/view/bom_form.xml
new file mode 100644
index 0000000000..e13af0da25
--- /dev/null
+++ b/view/bom_form.xml
@@ -0,0 +1,15 @@
+
+
+
diff --git a/view/bom_input_form.xml b/view/bom_input_form.xml
new file mode 100644
index 0000000000..69d9052713
--- /dev/null
+++ b/view/bom_input_form.xml
@@ -0,0 +1,15 @@
+
+
+
diff --git a/view/bom_input_list.xml b/view/bom_input_list.xml
new file mode 100644
index 0000000000..393b79320a
--- /dev/null
+++ b/view/bom_input_list.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
diff --git a/view/bom_list.xml b/view/bom_list.xml
new file mode 100644
index 0000000000..d0661b6ebf
--- /dev/null
+++ b/view/bom_list.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
diff --git a/view/bom_output_form.xml b/view/bom_output_form.xml
new file mode 100644
index 0000000000..fbe8df4c00
--- /dev/null
+++ b/view/bom_output_form.xml
@@ -0,0 +1,15 @@
+
+
+
diff --git a/view/bom_output_list.xml b/view/bom_output_list.xml
new file mode 100644
index 0000000000..f364302fdb
--- /dev/null
+++ b/view/bom_output_list.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
diff --git a/view/bom_tree_open_start_form.xml b/view/bom_tree_open_start_form.xml
new file mode 100644
index 0000000000..abee32c470
--- /dev/null
+++ b/view/bom_tree_open_start_form.xml
@@ -0,0 +1,12 @@
+
+
+
diff --git a/view/bom_tree_open_tree_form.xml b/view/bom_tree_open_tree_form.xml
new file mode 100644
index 0000000000..cf48143c08
--- /dev/null
+++ b/view/bom_tree_open_tree_form.xml
@@ -0,0 +1,6 @@
+
+
+
diff --git a/view/bom_tree_tree.xml b/view/bom_tree_tree.xml
new file mode 100644
index 0000000000..4bbd3fab98
--- /dev/null
+++ b/view/bom_tree_tree.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
diff --git a/view/configuration_form.xml b/view/configuration_form.xml
new file mode 100644
index 0000000000..012f66e6ec
--- /dev/null
+++ b/view/configuration_form.xml
@@ -0,0 +1,7 @@
+
+
+
diff --git a/view/location_form.xml b/view/location_form.xml
new file mode 100644
index 0000000000..2cb4876ab2
--- /dev/null
+++ b/view/location_form.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
diff --git a/view/product_bom_form.xml b/view/product_bom_form.xml
new file mode 100644
index 0000000000..5a81be4362
--- /dev/null
+++ b/view/product_bom_form.xml
@@ -0,0 +1,11 @@
+
+
+
diff --git a/view/product_bom_list.xml b/view/product_bom_list.xml
new file mode 100644
index 0000000000..0d0dac0da6
--- /dev/null
+++ b/view/product_bom_list.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
diff --git a/view/product_bom_list_sequence.xml b/view/product_bom_list_sequence.xml
new file mode 100644
index 0000000000..d2605d7dc0
--- /dev/null
+++ b/view/product_bom_list_sequence.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
diff --git a/view/product_form.xml b/view/product_form.xml
new file mode 100644
index 0000000000..3cbc8aa661
--- /dev/null
+++ b/view/product_form.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
diff --git a/view/production_form.xml b/view/production_form.xml
new file mode 100644
index 0000000000..e80999b5e5
--- /dev/null
+++ b/view/production_form.xml
@@ -0,0 +1,54 @@
+
+
+
diff --git a/view/production_list.xml b/view/production_list.xml
new file mode 100644
index 0000000000..8a0e4c63e5
--- /dev/null
+++ b/view/production_list.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+