diff --git a/MANIFEST.in b/MANIFEST.in index 44969c7156..18ce53ccc0 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -6,5 +6,6 @@ include CHANGELOG include LICENSE include tryton.cfg include *.xml +include view/*.xml include *.odt include locale/*.po diff --git a/product.xml b/product.xml index 396a193278..a0e768d098 100644 --- a/product.xml +++ b/product.xml @@ -7,63 +7,13 @@ this repository contains the full copyright notices and license terms. --> product.category - - - - - - - - - ]]> - + category_form product.template - - - - - - - - - ]]> - + template_form diff --git a/setup.py b/setup.py index 3657ba1d6a..ed4f557f9f 100644 --- a/setup.py +++ b/setup.py @@ -45,7 +45,7 @@ setup(name='trytond_account_product', ], package_data={ 'trytond.modules.account_product': (info.get('xml', []) - + ['tryton.cfg', 'locale/*.po']), + + ['tryton.cfg', 'view/*.xml', 'locale/*.po']), }, classifiers=[ 'Development Status :: 5 - Production/Stable', diff --git a/view/category_form.xml b/view/category_form.xml new file mode 100644 index 0000000000..35812e0ffa --- /dev/null +++ b/view/category_form.xml @@ -0,0 +1,25 @@ + + + + + + + + + diff --git a/view/template_form.xml b/view/template_form.xml new file mode 100644 index 0000000000..382ebeb0ca --- /dev/null +++ b/view/template_form.xml @@ -0,0 +1,25 @@ + + + + + + + + +