summaryrefslogtreecommitdiff
path: root/addons/project_issue_sheet/project_issue_sheet_view.xml
diff options
context:
space:
mode:
authorTejas Tank <tta@openerp.com>2012-07-16 17:16:51 +0530
committerTejas Tank <tta@openerp.com>2012-07-16 17:16:51 +0530
commitd5d2e420161e7ecdbdbecedd8b47c54033af3c8a (patch)
tree8c5d9674e5c8f215206b5557945fbfd87d5a99c1 /addons/project_issue_sheet/project_issue_sheet_view.xml
parentc50debfbd328c472c2c247bfb66d768256fe994b (diff)
parent08d2eb4828398b2deae80bb7d7bcd7436db1bb57 (diff)
[IMP] code improve and merge with latest.
bzr revid: tta@openerp.com-20120716114651-19wmcwhj7f6b4qj9
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}">