[ADD]added on_change on field

bzr revid: kbh@tinyerp.com-20121015094057-n4l3xei6o417dh1o
This commit is contained in:
Khushboo Bhatt (Open ERP) 2012-10-15 15:10:57 +05:30
parent 7ca9a1294a
commit a35b5a7f02
2 changed files with 2 additions and 2 deletions

View File

@ -141,7 +141,7 @@
</div>
</group>
<group string="Product Information">
<field name="product_id"/>
<field name="product_id" on_change="on_change_unit_amount(product_id, unit_amount, company_id, product_uom_id, journal_id)"/>
<label for="unit_amount"/>
<div>
<field name="unit_amount" class="oe_inline"/>

View File

@ -71,7 +71,7 @@
<field name="inherit_id" ref="account.view_account_analytic_line_tree"/>
<field name="arch" type="xml">
<field name="account_id" position="replace">
<field name="account_id" string="Analytic account/project"/>
<field name="account_id" string="Analytic account/project" on_change="on_change_account_id(account_id)"/>
</field>
</field>
</record>