[FIX] project_issue_sheet: improved code
bzr revid: tpa@tinyerp.com-20120430061655-z1a7yphklav6oosn
This commit is contained in:
parent
10804bea3e
commit
b4f4ce5d8c
|
@ -10,7 +10,7 @@
|
||||||
<field name="project_id" position="attributes">
|
<field name="project_id" position="attributes">
|
||||||
<attribute name="on_change">on_change_project(project_id)</attribute>
|
<attribute name="on_change">on_change_project(project_id)</attribute>
|
||||||
</field>
|
</field>
|
||||||
<xpath expr="/form/notebook" position="before">
|
<xpath expr="/form/sheet/notebook" position="before">
|
||||||
<field name="analytic_account_id"
|
<field name="analytic_account_id"
|
||||||
domain="[('parent_id','!=',False),('partner_id', '=', partner_id),('type', '!=', 'view')]"
|
domain="[('parent_id','!=',False),('partner_id', '=', partner_id),('type', '!=', 'view')]"
|
||||||
on_change='on_change_account_id(analytic_account_id)'/>
|
on_change='on_change_account_id(analytic_account_id)'/>
|
||||||
|
|
Loading…
Reference in New Issue