[IMP]:pass the context parameter in onchange
bzr revid: apa@tinyerp.com-20120612093020-019ycc7wmn03gczz
This commit is contained in:
parent
6c2f1fcf1e
commit
0400ae4047
|
@ -22,7 +22,7 @@
|
|||
<field eval="18" name="priority"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr='//field[@name="type"]' position='after'>
|
||||
<field name="template_id" on_change="on_change_template(template_id)" domain="[('type','=','template')]" attrs="{'invisible': [('type','in',['view', 'normal','template'])]}" context="{'default_type' : 'template'}"/>
|
||||
<field name="template_id" on_change="on_change_template(template_id,context)" domain="[('type','=','template')]" attrs="{'invisible': [('type','in',['view', 'normal','template'])]}" context="{'default_type' : 'template'}"/>
|
||||
</xpath>
|
||||
<xpath expr='//field[@name="date"]' position="after">
|
||||
<group col="6" colspan="2" class="oe_form_group_label_border">
|
||||
|
|
Loading…
Reference in New Issue