Skip to content
Browse files

[IMP] Planning: Imporve help message

  • Loading branch information
jbm-odoo committed Oct 24, 2019
1 parent a72006d commit c579c71081170426386b5ab62b96ad1f8f215c05
Showing with 2 additions and 6 deletions.
  1. +1 −5 addons/hr_timesheet/views/project_views.xml
  2. +1 −1 addons/project/models/
@@ -103,12 +103,8 @@
<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)]}">
<field name="subtask_planned_hours" widget="float_time"/><span> planned hours</span>
<field name="progress" widget="progressbar"/>
@@ -490,7 +490,7 @@ def _read_group_stage_ids(self, stages, domain, order):
project_id = fields.Many2one('project.project', string='Project',
compute='_compute_project_id', store=True, readonly=False,
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("Initially 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 c579c71

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