[FIX] project_issue_sheet: improved code

bzr revid: tpa@tinyerp.com-20120430061655-z1a7yphklav6oosn
This commit is contained in:
Turkesh Patel (Open ERP) 2012-04-30 11:46:55 +05:30
parent 10804bea3e
commit b4f4ce5d8c
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
<field name="project_id" position="attributes">
<attribute name="on_change">on_change_project(project_id)</attribute>
</field>
<xpath expr="/form/notebook" position="before">
<xpath expr="/form/sheet/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)'/>