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/party.xml b/party.xml index 1c22b63bc4..dd6f1fd0c2 100644 --- a/party.xml +++ b/party.xml @@ -7,18 +7,7 @@ this repository contains the full copyright notices and license terms. --> party.party - - - - - - - - ]]> - + party_form diff --git a/price_list.xml b/price_list.xml index ebf28b2f75..88b3a00665 100644 --- a/price_list.xml +++ b/price_list.xml @@ -7,30 +7,13 @@ this repository contains the full copyright notices and license terms. --> product.price_list form - - - product.price_list tree - - - - - ]]> - + price_list_tree @@ -80,55 +63,20 @@ this repository contains the full copyright notices and license terms. --> product.price_list.line form - - - product.price_list.line tree - - - - - - - - - ]]> - + price_list_line_tree product.price_list.line tree - - - - - - - ]]> - + price_list_line_tree_sequence diff --git a/setup.py b/setup.py index 5b9cf50fca..e65bb7b9e5 100644 --- a/setup.py +++ b/setup.py @@ -45,7 +45,7 @@ setup(name='trytond_product_price_list', ], package_data={ 'trytond.modules.product_price_list': (info.get('xml', []) - + ['tryton.cfg', 'locale/*.po']), + + ['tryton.cfg', 'view/*.xml', 'locale/*.po']), }, classifiers=[ 'Development Status :: 5 - Production/Stable', diff --git a/view/party_form.xml b/view/party_form.xml new file mode 100644 index 0000000000..2c936704ba --- /dev/null +++ b/view/party_form.xml @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/view/price_list_form.xml b/view/price_list_form.xml new file mode 100644 index 0000000000..403dc0a565 --- /dev/null +++ b/view/price_list_form.xml @@ -0,0 +1,11 @@ + + +
+