Skip to content
Permalink
Browse files

[IMP] Planning: Imporve help message

id=1985510
  • Loading branch information
jbm-odoo committed Oct 24, 2019
1 parent a604478 commit 35b6350d824d9de061a9e349ad911515e5d22c1b
Showing with 2 additions and 2 deletions.
  1. +1 −1 addons/hr_timesheet/views/project_views.xml
  2. +1 −1 addons/project/models/project.py
@@ -70,7 +70,7 @@
<field name="allow_timesheets" invisible="1"/>
<page string="Timesheets" id="timesheets_tab" attrs="{'invisible': [('allow_timesheets', '=', False)]}">
<group>
<group>
<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):
readonly=True)
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 35b6350

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