From e978f4ccab28fe07390c0dc5f710ef8e28e28aac Mon Sep 17 00:00:00 2001 From: Jared Kipe Date: Wed, 23 May 2018 11:47:37 -0700 Subject: [PATCH] Initial commit of `timesheet_description` and `timesheet_description_sale` for 11.0 -- Forces popup for timesheet (detail) and allows you to display them as Markdown in the portal. --- timesheet_description_sale/__init__.py | 1 + timesheet_description_sale/__manifest__.py | 21 +++++++++++++++++++ .../views/timesheet_views.xml | 19 +++++++++++++++++ 3 files changed, 41 insertions(+) create mode 100644 timesheet_description_sale/__init__.py create mode 100644 timesheet_description_sale/__manifest__.py create mode 100644 timesheet_description_sale/views/timesheet_views.xml diff --git a/timesheet_description_sale/__init__.py b/timesheet_description_sale/__init__.py new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/timesheet_description_sale/__init__.py @@ -0,0 +1 @@ + diff --git a/timesheet_description_sale/__manifest__.py b/timesheet_description_sale/__manifest__.py new file mode 100644 index 00000000..122676b3 --- /dev/null +++ b/timesheet_description_sale/__manifest__.py @@ -0,0 +1,21 @@ +{ + 'name': 'Timesheet Description Sale', + 'version': '11.0.1.0.0', + 'author': 'Hibou Corp. ', + 'website': 'https://hibou.io/', + 'license': 'AGPL-3', + 'category': 'Tools', + 'complexity': 'easy', + 'description': """ +Linker module to inject fields required by timesheets for sales. + """, + 'depends': [ + 'timesheet_description', + 'sale_timesheet', + ], + 'data': [ + 'views/timesheet_views.xml', + ], + 'installable': True, + 'auto_install': True, +} diff --git a/timesheet_description_sale/views/timesheet_views.xml b/timesheet_description_sale/views/timesheet_views.xml new file mode 100644 index 00000000..f4d48acd --- /dev/null +++ b/timesheet_description_sale/views/timesheet_views.xml @@ -0,0 +1,19 @@ + + + + project.task.form.inherit + project.task + + + + {'default_project_id': project_id, 'default_task_id': active_id} + + + + + + + + + + \ No newline at end of file