onchange function
i have a selection field in account.
1)form_a
2)form_b
3)form_c
there is also a integer field named flag in account.
Code:
def onchange_
val={}
flag=0
invoice = self.pool.
for invoice in self.browse(cr, uid, ids,context=
if invoice.
else:
print flag
val = {
}
return {'value': val}
my xml code in account.
Code:
<field name="form_type" on_change=
_________________
Regards,
Nightfury
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Pravitha V
- Solved:
- Last query:
- Last reply: