about 9 years ago
The multi function is used to compute multiple values. In below code i have used api.multi to compute multiple values
@api.multi @api.depends('field.relation', 'an_otherfield.relation') def _amount(self): for x in self: x.total = an_algo x.untaxed = an_algo
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
Sign up using
0 Comment(s)