[ADD]added on_change on field
bzr revid: kbh@tinyerp.com-20121015094057-n4l3xei6o417dh1o
This commit is contained in:
parent
7ca9a1294a
commit
a35b5a7f02
|
@ -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"/>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue