Skip to content
Browse files

[IMP] Planning: Imporve help message

  • Loading branch information
jbm-odoo committed Oct 24, 2019
1 parent 3db9ce5 commit b9775148f143f907cf022aaf449cb74b9f83104b
Showing with 2 additions and 2 deletions.
  1. +1 −1 addons/hr_timesheet/views/project_views.xml
  2. +1 −1 addons/project/models/
@@ -70,7 +70,7 @@
<field name="allow_timesheets" invisible="1"/>
<page string="Timesheets" id="timesheets_tab" attrs="{'invisible': [('allow_timesheets', '=', False)]}">
<group name="hours">
<field name="planned_hours" widget="float_time"/>
<label for="subtask_planned_hours" groups="project.group_subtask_project" attrs="{'invisible': [('subtask_count', '=', 0)]}"/>
<div class="o_row" groups="project.group_subtask_project" attrs="{'invisible': [('subtask_count', '=', 0)]}">
@@ -506,7 +506,7 @@ def _read_group_stage_ids(self, stages, domain, order):
project_id = fields.Many2one('project.project', string='Project', default=lambda self: self.env.context.get('default_project_id'),
index=True, tracking=True, check_company=True, change_default=True)
planned_hours = fields.Float("Planned Hours", help='It is the time planned to achieve the task. If this document has sub-tasks, it means the time needed to achieve this tasks and its childs.',tracking=True)
planned_hours = fields.Float("Planned Hours", help='Time planned to achieve this task (including its sub-tasks).', tracking=True)
subtask_planned_hours = fields.Float("Subtasks", compute='_compute_subtask_planned_hours', help="Computed using sum of hours planned of all subtasks created from main task. Usually these hours are less or equal to the Planned Hours (of main task).")
user_id = fields.Many2one('res.users',
string='Assigned to',

0 comments on commit b977514

Please sign in to comment.
You can’t perform that action at this time.