diff --git a/MANIFEST.in b/MANIFEST.in
index e4632a141f..732a76eded 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/category.xml b/category.xml
index 712193a9d8..fb008df3a7 100644
--- a/category.xml
+++ b/category.xml
@@ -7,50 +7,19 @@ this repository contains the full copyright notices and license terms. -->
product.category
tree
10
-
-
-
-
-
- ]]>
-
+ category_list
product.category
tree
20
childs
-
-
-
-
-
-
- ]]>
-
+ category_tree
product.category
form
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ]]>
-
+ category_form
diff --git a/product.xml b/product.xml
index f726a0a897..e4c61e28f3 100644
--- a/product.xml
+++ b/product.xml
@@ -26,104 +26,27 @@ this repository contains the full copyright notices and license terms. -->
product.template
tree
-
-
-
-
-
-
-
-
-
-
- ]]>
-
+ template_tree
product.template
form
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ]]>
-
+ template_form
product.product
tree
-
-
-
-
-
-
-
-
-
- ]]>
-
+ product_tree
product.product
form
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ]]>
-
+ product_form
diff --git a/setup.py b/setup.py
index 5197ecfddc..63b67ed625 100644
--- a/setup.py
+++ b/setup.py
@@ -45,7 +45,7 @@ setup(name='trytond_product',
],
package_data={
'trytond.modules.product': (info.get('xml', [])
- + ['tryton.cfg', 'locale/*.po', 'icons/*.svg']),
+ + ['tryton.cfg', 'view/*.xml', 'locale/*.po', 'icons/*.svg']),
},
classifiers=[
'Development Status :: 5 - Production/Stable',
diff --git a/uom.xml b/uom.xml
index 48ea756b43..540ba56d28 100644
--- a/uom.xml
+++ b/uom.xml
@@ -6,45 +6,12 @@ this repository contains the full copyright notices and license terms. -->
product.uom
tree
-
-
-
-
-
-
-
-
-
-
- ]]>
-
+ uom_tree
product.uom
form
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ]]>
-
+ uom_form
Units of Measure
@@ -66,26 +33,13 @@ this repository contains the full copyright notices and license terms. -->
product.uom.category
tree
-
-
-
-
- ]]>
-
+ uom_category_tree
product.uom.category
form
-
-
-
-
-
- ]]>
-
+ uom_category_form
diff --git a/view/category_form.xml b/view/category_form.xml
new file mode 100644
index 0000000000..8b2528550a
--- /dev/null
+++ b/view/category_form.xml
@@ -0,0 +1,16 @@
+
+
+
diff --git a/view/category_list.xml b/view/category_list.xml
new file mode 100644
index 0000000000..af5b4a6692
--- /dev/null
+++ b/view/category_list.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
diff --git a/view/category_tree.xml b/view/category_tree.xml
new file mode 100644
index 0000000000..409e11d77d
--- /dev/null
+++ b/view/category_tree.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
diff --git a/view/product_form.xml b/view/product_form.xml
new file mode 100644
index 0000000000..bbdc6f7814
--- /dev/null
+++ b/view/product_form.xml
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/view/product_tree.xml b/view/product_tree.xml
new file mode 100644
index 0000000000..932584a2d1
--- /dev/null
+++ b/view/product_tree.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/view/template_form.xml b/view/template_form.xml
new file mode 100644
index 0000000000..c8b049c249
--- /dev/null
+++ b/view/template_form.xml
@@ -0,0 +1,28 @@
+
+
+
diff --git a/view/template_tree.xml b/view/template_tree.xml
new file mode 100644
index 0000000000..35cfa8d5c5
--- /dev/null
+++ b/view/template_tree.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/view/uom_category_form.xml b/view/uom_category_form.xml
new file mode 100644
index 0000000000..e4e18480d2
--- /dev/null
+++ b/view/uom_category_form.xml
@@ -0,0 +1,7 @@
+
+
+
diff --git a/view/uom_category_tree.xml b/view/uom_category_tree.xml
new file mode 100644
index 0000000000..c2f4ce42b5
--- /dev/null
+++ b/view/uom_category_tree.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
diff --git a/view/uom_form.xml b/view/uom_form.xml
new file mode 100644
index 0000000000..614bce1d65
--- /dev/null
+++ b/view/uom_form.xml
@@ -0,0 +1,21 @@
+
+
+
diff --git a/view/uom_tree.xml b/view/uom_tree.xml
new file mode 100644
index 0000000000..db0df8c9b0
--- /dev/null
+++ b/view/uom_tree.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+