From 9d4fcba3833b27c8475366bf50f00634c34d9e05 Mon Sep 17 00:00:00 2001 From: Bhoomi Date: Mon, 7 Oct 2019 18:49:51 -0400 Subject: [PATCH] WIP `timesheet_description` For Odoo 13.0 (Time sheet has new view on fronted) --- timesheet_description/__manifest__.py | 4 +- timesheet_description/models/timesheet.py | 1 - .../views/project_templates.xml | 2 +- .../views/timesheet_views.xml | 84 +++++++++---------- 4 files changed, 45 insertions(+), 46 deletions(-) diff --git a/timesheet_description/__manifest__.py b/timesheet_description/__manifest__.py index 090b3f75..edf86384 100644 --- a/timesheet_description/__manifest__.py +++ b/timesheet_description/__manifest__.py @@ -1,6 +1,6 @@ { 'name': 'Timesheet Description', - 'version': '12.0.1.0.0', + 'version': '13.0.1.0.0', 'author': 'Hibou Corp. ', 'website': 'https://hibou.io/', 'license': 'AGPL-3', @@ -16,7 +16,7 @@ Optionally, allows you to display your timesheet entries in markdown on the fron 'hr_timesheet', ], 'data': [ - 'views/project_templates.xml', + # 'views/project_templates.xml', 'views/timesheet_views.xml', ], 'installable': True, diff --git a/timesheet_description/models/timesheet.py b/timesheet_description/models/timesheet.py index 30cd3401..30b71e43 100644 --- a/timesheet_description/models/timesheet.py +++ b/timesheet_description/models/timesheet.py @@ -11,7 +11,6 @@ class AnalyticLine(models.Model): name_markdown = fields.Html(compute='_compute_name_markdown') - @api.multi def _compute_name_markdown(self): if not markdown: for line in self: diff --git a/timesheet_description/views/project_templates.xml b/timesheet_description/views/project_templates.xml index e2d78d0b..f9f05843 100644 --- a/timesheet_description/views/project_templates.xml +++ b/timesheet_description/views/project_templates.xml @@ -1,6 +1,6 @@ -