diff --git a/MANIFEST.in b/MANIFEST.in
index 97a95966de..25699556d2 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/location.xml b/location.xml
index 6789545296..a259918194 100644
--- a/location.xml
+++ b/location.xml
@@ -6,33 +6,12 @@ this repository contains the full copyright notices and license terms. -->
stock.product.location
form
-
-
-
-
-
-
-
-
-
-
-
- ]]>
-
+ product_location_form
stock.product.location
tree
-
-
-
-
-
-
- ]]>
-
+ product_location_tree
diff --git a/product.xml b/product.xml
index 61307c8a0e..db4a307dda 100644
--- a/product.xml
+++ b/product.xml
@@ -6,19 +6,7 @@ this repository contains the full copyright notices and license terms. -->
product.product
-
-
-
-
-
-
-
-
- ]]>
-
+ product_form
diff --git a/setup.py b/setup.py
index 5c70c2cff4..9d41a36621 100644
--- a/setup.py
+++ b/setup.py
@@ -45,7 +45,7 @@ setup(name='trytond_stock_product_location',
],
package_data={
'trytond.modules.stock_product_location': (info.get('xml', [])
- + ['tryton.cfg', 'locale/*.po', 'label.odt']),
+ + ['tryton.cfg', 'view/*.xml', 'locale/*.po', 'label.odt']),
},
classifiers=[
'Development Status :: 5 - Production/Stable',
diff --git a/view/product_form.xml b/view/product_form.xml
new file mode 100644
index 0000000000..a1bf6c3f84
--- /dev/null
+++ b/view/product_form.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
diff --git a/view/product_location_form.xml b/view/product_location_form.xml
new file mode 100644
index 0000000000..c8d3b10ccb
--- /dev/null
+++ b/view/product_location_form.xml
@@ -0,0 +1,13 @@
+
+
+
diff --git a/view/product_location_tree.xml b/view/product_location_tree.xml
new file mode 100644
index 0000000000..1a7a480979
--- /dev/null
+++ b/view/product_location_tree.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+