Hello, I am an odoo beginner and have a question:
The way computed fields work seems to be:
from odoo import api total = fields.Float(compute='_compute_total') @api.depends('value', 'tax') def _compute_total(self): for record in self: record.total = record.value + record.value * record.tax
But it seems to me that is code always loops over all the records, is that correct?
Doesn't that make the code slow on large tables? Are there other methods only working on the current record?