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/purchase.xml b/purchase.xml index a7a757dcad..0339296dc5 100644 --- a/purchase.xml +++ b/purchase.xml @@ -7,40 +7,12 @@ this repository contains the full copyright notices and license terms. --> account.invoice.line tree - - - - - - - - - - - - - - - - - ]]> - + invoice_line_tree_invoice_type purchase.purchase - - - - - - - ]]> - + purchase_form diff --git a/setup.py b/setup.py index c712b0deed..0b8a56f1da 100644 --- a/setup.py +++ b/setup.py @@ -45,7 +45,7 @@ setup(name='trytond_purchase_invoice_line_standalone', ], package_data={ 'trytond.modules.purchase_invoice_line_standalone': ( - info.get('xml', []) + ['tryton.cfg', 'locale/*.po']), + info.get('xml', []) + ['tryton.cfg', 'view/*.xml', 'locale/*.po']), }, classifiers=[ 'Development Status :: 5 - Production/Stable', diff --git a/view/invoice_line_tree_invoice_type.xml b/view/invoice_line_tree_invoice_type.xml new file mode 100644 index 0000000000..aaf3a02ee9 --- /dev/null +++ b/view/invoice_line_tree_invoice_type.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + diff --git a/view/purchase_form.xml b/view/purchase_form.xml new file mode 100644 index 0000000000..8342d19981 --- /dev/null +++ b/view/purchase_form.xml @@ -0,0 +1,9 @@ + + + + + + +