From 6712fcbe37c8d6016ff655cf6b38b3033e0b7a1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 3 Mar 2013 18:35:29 +0100 Subject: [PATCH] Use separate XML files for views --- MANIFEST.in | 1 + invoice.xml | 14 +------------- setup.py | 2 +- view/invoice_line_form.xml | 12 ++++++++++++ 4 files changed, 15 insertions(+), 14 deletions(-) create mode 100644 view/invoice_line_form.xml 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/invoice.xml b/invoice.xml index 7509e7f0aa..0fff583201 100644 --- a/invoice.xml +++ b/invoice.xml @@ -6,19 +6,7 @@ this repository contains the full copyright notices and license terms. --> account.invoice.line - - - - - - - - - ]]> - + invoice_line_form diff --git a/setup.py b/setup.py index 2f52f02796..a888e757b8 100644 --- a/setup.py +++ b/setup.py @@ -45,7 +45,7 @@ setup(name='trytond_analytic_invoice', ], package_data={ 'trytond.modules.analytic_invoice': (info.get('xml', []) - + ['tryton.cfg', 'locale/*.po']), + + ['tryton.cfg', 'view/*.xml', 'locale/*.po']), }, classifiers=[ 'Development Status :: 5 - Production/Stable', diff --git a/view/invoice_line_form.xml b/view/invoice_line_form.xml new file mode 100644 index 0000000000..b0fa414b56 --- /dev/null +++ b/view/invoice_line_form.xml @@ -0,0 +1,12 @@ + + + + + + + + +