summaryrefslogtreecommitdiff
path: root/addons/project_issue_sheet/project_issue_sheet_view.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/project_issue_sheet/project_issue_sheet_view.xml')
-rw-r--r--addons/project_issue_sheet/project_issue_sheet_view.xml13
1 files changed, 8 insertions, 5 deletions
diff --git a/addons/project_issue_sheet/project_issue_sheet_view.xml b/addons/project_issue_sheet/project_issue_sheet_view.xml
index 2a98f186922..cb2d1f70c96 100644
--- a/addons/project_issue_sheet/project_issue_sheet_view.xml
+++ b/addons/project_issue_sheet/project_issue_sheet_view.xml
@@ -10,11 +10,14 @@
<field name="project_id" position="attributes">
<attribute name="on_change">on_change_project(project_id)</attribute>
</field>
- <xpath expr="//notebook" position="before">
- <field name="analytic_account_id"
- domain="[('parent_id','!=',False),('partner_id', '=', partner_id),('type', '!=', 'view')]"
- on_change='on_change_account_id(analytic_account_id)'/>
- </xpath>
+ <field name="active" position="after">
+ <newline/>
+ <group colspan="4">
+ <field name="analytic_account_id"
+ domain="[('parent_id','!=',False),('partner_id', '=', partner_id),('type', '!=', 'view')]"
+ on_change='on_change_account_id(analytic_account_id)'/>
+ </group>
+ </field>
<xpath expr="//notebook/page[@string='Extra Info']" position="before">
<page string="Worklogs">
<field name="timesheet_ids" colspan="4" nolabel="1" context="{'default_user_id' : user_id, 'default_account_id' : analytic_account_id}">