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/configuration.xml b/configuration.xml
index 8c2ad6e9f9..9cdc959bb9 100644
--- a/configuration.xml
+++ b/configuration.xml
@@ -6,16 +6,7 @@ this repository contains the full copyright notices and license terms. -->
purchase.configuration
form
-
-
-
-
-
-
-
- ]]>
-
+ configuration_form
Purchase Configuration
diff --git a/product.xml b/product.xml
index e2cf5166b1..d63e0d8e89 100644
--- a/product.xml
+++ b/product.xml
@@ -7,20 +7,7 @@ this repository contains the full copyright notices and license terms. -->
product.product
tree
-
-
-
-
-
-
-
-
-
-
-
- ]]>
-
+ product_list_purchase_line
diff --git a/purchase.xml b/purchase.xml
index 2f3ad285f0..2e2d6b4cac 100644
--- a/purchase.xml
+++ b/purchase.xml
@@ -58,110 +58,12 @@ this repository contains the full copyright notices and license terms. -->
purchase.purchase
form
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ]]>
-
+ purchase_form
purchase.purchase
tree
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ]]>
-
+ purchase_tree
@@ -202,36 +104,13 @@ this repository contains the full copyright notices and license terms. -->
purchase.handle.shipment.exception.ask
form
-
-
-
-
-
-
- ]]>
-
+ handle_shipment_exception_ask_form
purchase.handle.invoice.exception.ask
form
-
-
-
-
-
-
- ]]>
-
+ handle_invoice_exception_ask_form
@@ -383,90 +262,21 @@ this repository contains the full copyright notices and license terms. -->
purchase.line
form
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ]]>
-
+ purchase_line_form
purchase.line
tree
-
-
-
-
-
-
-
-
-
-
-
-
-
- ]]>
-
+ purchase_line_tree
purchase.line
tree
-
-
-
-
-
-
-
-
-
-
-
-
-
- ]]>
-
+ purchase_line_tree_sequence
@@ -488,59 +298,20 @@ this repository contains the full copyright notices and license terms. -->
purchase.product_supplier
form
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ]]>
-
+ product_supplier_form
purchase.product_supplier
tree
-
-
-
-
-
-
-
-
- ]]>
-
+ product_supplier_tree
purchase.product_supplier
tree
-
-
-
-
-
-
- ]]>
-
+ product_supplier_tree_sequence
@@ -555,109 +326,29 @@ this repository contains the full copyright notices and license terms. -->
purchase.product_supplier.price
form
-
-
-
-
-
-
-
-
-
- ]]>
-
+ product_supplier_price_form
purchase.product_supplier.price
tree
-
-
-
-
-
-
- ]]>
-
+ product_supplier_price_tree
product.template
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ]]>
-
+ template_form
product.template
-
-
-
-
-
-
- ]]>
-
+ template_tree
stock.move
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ]]>
-
+ move_form
diff --git a/setup.py b/setup.py
index 0fabef116b..f9610387f7 100644
--- a/setup.py
+++ b/setup.py
@@ -45,7 +45,7 @@ setup(name='trytond_purchase',
],
package_data={
'trytond.modules.purchase': (info.get('xml', [])
- + ['tryton.cfg', 'locale/*.po', 'purchase.odt']),
+ + ['tryton.cfg', 'view/*.xml', 'locale/*.po', 'purchase.odt']),
},
classifiers=[
'Development Status :: 5 - Production/Stable',
diff --git a/stock.xml b/stock.xml
index a5dedcf4d1..8a60db8328 100644
--- a/stock.xml
+++ b/stock.xml
@@ -7,20 +7,7 @@ this repository contains the full copyright notices and license terms. -->
stock.move
tree
-
-
-
-
-
-
-
-
-
-
-
- ]]>
-
+ move_list_shipment
diff --git a/view/configuration_form.xml b/view/configuration_form.xml
new file mode 100644
index 0000000000..8c37150929
--- /dev/null
+++ b/view/configuration_form.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/view/handle_invoice_exception_ask_form.xml b/view/handle_invoice_exception_ask_form.xml
new file mode 100644
index 0000000000..bb0cf4ab85
--- /dev/null
+++ b/view/handle_invoice_exception_ask_form.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/view/handle_shipment_exception_ask_form.xml b/view/handle_shipment_exception_ask_form.xml
new file mode 100644
index 0000000000..5319d459c5
--- /dev/null
+++ b/view/handle_shipment_exception_ask_form.xml
@@ -0,0 +1,10 @@
+
+
+
diff --git a/view/move_form.xml b/view/move_form.xml
new file mode 100644
index 0000000000..aaf6709f64
--- /dev/null
+++ b/view/move_form.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/view/move_list_shipment.xml b/view/move_list_shipment.xml
new file mode 100644
index 0000000000..e9d87411b7
--- /dev/null
+++ b/view/move_list_shipment.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/view/product_list_purchase_line.xml b/view/product_list_purchase_line.xml
new file mode 100644
index 0000000000..838edaf199
--- /dev/null
+++ b/view/product_list_purchase_line.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/view/product_supplier_form.xml b/view/product_supplier_form.xml
new file mode 100644
index 0000000000..ee69174fa7
--- /dev/null
+++ b/view/product_supplier_form.xml
@@ -0,0 +1,21 @@
+
+
+
diff --git a/view/product_supplier_price_form.xml b/view/product_supplier_price_form.xml
new file mode 100644
index 0000000000..6237a120f8
--- /dev/null
+++ b/view/product_supplier_price_form.xml
@@ -0,0 +1,11 @@
+
+
+
diff --git a/view/product_supplier_price_tree.xml b/view/product_supplier_price_tree.xml
new file mode 100644
index 0000000000..4dbf5a99b5
--- /dev/null
+++ b/view/product_supplier_price_tree.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
diff --git a/view/product_supplier_tree.xml b/view/product_supplier_tree.xml
new file mode 100644
index 0000000000..1f9cf9e2b2
--- /dev/null
+++ b/view/product_supplier_tree.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
diff --git a/view/product_supplier_tree_sequence.xml b/view/product_supplier_tree_sequence.xml
new file mode 100644
index 0000000000..f3ae6f642c
--- /dev/null
+++ b/view/product_supplier_tree_sequence.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
diff --git a/view/purchase_form.xml b/view/purchase_form.xml
new file mode 100644
index 0000000000..20263d1c7e
--- /dev/null
+++ b/view/purchase_form.xml
@@ -0,0 +1,79 @@
+
+
+
diff --git a/view/purchase_line_form.xml b/view/purchase_line_form.xml
new file mode 100644
index 0000000000..cda5196702
--- /dev/null
+++ b/view/purchase_line_form.xml
@@ -0,0 +1,39 @@
+
+
+
diff --git a/view/purchase_line_tree.xml b/view/purchase_line_tree.xml
new file mode 100644
index 0000000000..369b3f74f4
--- /dev/null
+++ b/view/purchase_line_tree.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/view/purchase_line_tree_sequence.xml b/view/purchase_line_tree_sequence.xml
new file mode 100644
index 0000000000..60eac86d94
--- /dev/null
+++ b/view/purchase_line_tree_sequence.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/view/purchase_tree.xml b/view/purchase_tree.xml
new file mode 100644
index 0000000000..7778ed485e
--- /dev/null
+++ b/view/purchase_tree.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/view/template_form.xml b/view/template_form.xml
new file mode 100644
index 0000000000..2afde822d6
--- /dev/null
+++ b/view/template_form.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/view/template_tree.xml b/view/template_tree.xml
new file mode 100644
index 0000000000..c4fd34da41
--- /dev/null
+++ b/view/template_tree.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+