In odoo v11 when i use @api.multi decorator, the self variable is the actual recordset. But what records are in that recordset?
For example: In odoo I click on a partner. The partner has a computed field. The method of that computed field is decorated with @api.multi. In that recordset on the 0th place, there is the record i want. But why there are other records?
I know what @api.one does - iterating through the recordset and redefining the self variable as the current recordset.
I'm facing this problem, because i want to fill fields via a WebService call from Navision at the time I click on a partner. So i defined a temp field which is computed by a method. in that method i call the webservice and update the four fields i want to show.
any explanations / suggestions?
Thanks. -JS