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 - - - 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 - - - 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 - - - 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 - - - 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 @@ + + +
+