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/line.xml b/line.xml index e05e287f4b..5a142a1ae1 100644 --- a/line.xml +++ b/line.xml @@ -6,39 +6,12 @@ this repository contains the full copyright notices and license terms. --> timesheet.line form - - - timesheet.line tree - - - - - - - - - ]]> - + line_tree Timesheet Lines @@ -82,16 +55,7 @@ this repository contains the full copyright notices and license terms. --> timesheet.line.enter.start form - - - @@ -104,32 +68,12 @@ this repository contains the full copyright notices and license terms. --> timesheet.hours_employee tree - - - - - - ]]> - + hours_employee_tree timesheet.hours_employee graph - - - - - - - - - - ]]> - + hours_employee_graph Hours per Employee @@ -171,16 +115,7 @@ this repository contains the full copyright notices and license terms. --> timesheet.hours_employee.open.start form - - - Hours per Employee @@ -192,17 +127,7 @@ this repository contains the full copyright notices and license terms. --> timesheet.hours_employee_weekly tree - - - - - - - - ]]> - + hours_employee_weekly_tree Hours per Employee per Week @@ -220,17 +145,7 @@ this repository contains the full copyright notices and license terms. --> timesheet.hours_employee_monthly tree - - - - - - - - ]]> - + hours_employee_monthly_tree Hours per Employee per Month diff --git a/setup.py b/setup.py index febbcf9c20..04b5e48f61 100644 --- a/setup.py +++ b/setup.py @@ -45,7 +45,7 @@ setup(name='trytond_timesheet', ], package_data={ 'trytond.modules.timesheet': (info.get('xml', []) - + ['tryton.cfg', 'locale/*.po']), + + ['tryton.cfg', 'view/*.xml', 'locale/*.po']), }, classifiers=[ 'Development Status :: 5 - Production/Stable', diff --git a/view/hours_employee_graph.xml b/view/hours_employee_graph.xml new file mode 100644 index 0000000000..c9ca574c79 --- /dev/null +++ b/view/hours_employee_graph.xml @@ -0,0 +1,12 @@ + + + + + + + + + + diff --git a/view/hours_employee_monthly_tree.xml b/view/hours_employee_monthly_tree.xml new file mode 100644 index 0000000000..b2350ed9db --- /dev/null +++ b/view/hours_employee_monthly_tree.xml @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/view/hours_employee_open_start_form.xml b/view/hours_employee_open_start_form.xml new file mode 100644 index 0000000000..0e0a429a62 --- /dev/null +++ b/view/hours_employee_open_start_form.xml @@ -0,0 +1,9 @@ + + +
+