CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I want to pass the value of residual(Balance) in account.invoice into another class named ip.local.
So i write an on_change function as follows.
file_no = self.browse(cr, uid,file_no_tm, context=None)
ip_obj = self.pool.get('ip.local')
ip_obj.browse(cr, uid,file_no.file_no_tm, context=None)
NB:.file_no_tm is a field of ip.local and it is used as a many2one in account.invoice.
I want to change the 'balance_payment'' field with the value of residual when the value of residual is changing...
About This Community
Odoo Training Center
|Asked: 4/15/15, 3:08 AM|
|Seen: 563 times|
|Last updated: 4/15/15, 3:16 AM|