summaryrefslogtreecommitdiff
path: root/addons/project_issue/project_issue_view.xml
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2014-08-06 11:36:54 +0200
committerThibault Delavallée <tde@openerp.com>2014-08-07 08:54:09 +0200
commit622b52d262f9f2aa8d0ecb4dab464416a6f65f06 (patch)
tree80baff14ad2386ecebe3fc836501ff41c50b63a3 /addons/project_issue/project_issue_view.xml
parentf062eec6398e59f8636b00ef922be48a0f69c772 (diff)
[FIX] project_issue, resource: fixed computation of hours / days to open (assign) or close an issue. Those fields now have a conditional store, because they were not recomputed even when changing date_open and date_closed. Changing the stage now correctly changes the date_closed. Also added some fixes in resource module, the date was not correctly taken into account when computing the number of working hours between two dates.
Diffstat (limited to 'addons/project_issue/project_issue_view.xml')
-rw-r--r--addons/project_issue/project_issue_view.xml22
1 files changed, 12 insertions, 10 deletions
diff --git a/addons/project_issue/project_issue_view.xml b/addons/project_issue/project_issue_view.xml
index 502598193a6..620c612ecf1 100644
--- a/addons/project_issue/project_issue_view.xml
+++ b/addons/project_issue/project_issue_view.xml
@@ -90,16 +90,18 @@
<field name="description" placeholder="Add an internal note..." groups="base.group_user"/>
</page>
<page string="Extra Info" groups="project.group_project_manager,project.group_project_user">
- <group string="Statistics">
- <field name="day_open"/>
- <field name="day_close"/>
- <field name="working_hours_open" widget="float_time"/>
- <field name="working_hours_close" widget="float_time"/>
- <field name="inactivity_days"/>
- <field name="days_since_creation"/>
- </group>
- <group string="Status" groups="base.group_no_one">
- <field name="active"/>
+ <group>
+ <group string="Statistics">
+ <field name="day_open"/>
+ <field name="day_close"/>
+ <field name="working_hours_open" widget="float_time"/>
+ <field name="working_hours_close" widget="float_time"/>
+ <field name="inactivity_days"/>
+ <field name="days_since_creation"/>
+ </group>
+ <group string="Status" groups="base.group_no_one">
+ <field name="active"/>
+ </group>
</group>
</page>
</notebook>