diff --git a/cor_custom/data/mail_data.xml b/cor_custom/data/mail_data.xml old mode 100644 new mode 100755 diff --git a/cor_custom/models/project.py b/cor_custom/models/project.py index 5079f94..736ad91 100755 --- a/cor_custom/models/project.py +++ b/cor_custom/models/project.py @@ -330,3 +330,6 @@ class InheritProjectTask(models.Model): start_date = fields.Date(string='Start Date') + def action_done_task(self): + print('88888888888888') + diff --git a/cor_custom/views/analytic_view.xml b/cor_custom/views/analytic_view.xml index 101f44e..8160eb9 100755 --- a/cor_custom/views/analytic_view.xml +++ b/cor_custom/views/analytic_view.xml @@ -21,8 +21,8 @@ - - + + + + All Timesheets + account.analytic.line + tree,form,pivot,kanban,calendar + + [('project_id', '!=', False)] + { + 'search_default_week':1, + } - --> + +

+ No activities found. Let's start a new one! +

+

+ Track your working hours by projects every day and invoice this time to your customers. +

+
+ + + + account.analytic.line.calendar + account.analytic.line + + + + + + + + + + + calendar + + + + + + + + My Timesheets + account.analytic.line + tree,form,kanban,calendar + [('project_id', '!=', False), ('user_id', '=', uid)] + { + "search_default_week":1, + } + + + +

+ No activities found. Let's start a new one! +

+

+ Track your working hours by projects every day and invoice this time to your customers. +

+
+
+ + + account.analytic.line.calendar + account.analytic.line + + + + + + + + + + + calendar + + + diff --git a/cor_custom/views/project_view.xml b/cor_custom/views/project_view.xml index 8a27226..d5579ee 100755 --- a/cor_custom/views/project_view.xml +++ b/cor_custom/views/project_view.xml @@ -170,6 +170,18 @@ + + project.project.tree.inherit + project.project + + + + + + + + + Projects project.project @@ -211,13 +223,26 @@ 1 - + + + + Done + + + code + + if records: + action = records.action_done_task() + + + Tags