the issue is simple, I just need to create a computed field. here is what I have:
class MyModel(models.Model):
_name = 'my.model'
a = fields.Float()
b = fields.Float()
value = fields.Float(compute='_compute_value')
@api.depends('a','b')
def _compute_value(self):
for record in self:
record.value = a/b
but when I want to check it from the web browser on the db, I see that it's not added to compute
(calculer in french stands for compute which is empty)
what can be the issue?

To create
my.modelfields, Odoo will execute the following query:You can see that
computeis not present in the column names. Its value is not stored in database