How does related works for a readonly (not stored) field?
I have a field in a module:
payment_amount_overdue = fields.Float(
store = False,
This field is not stored, so it's not searchable.
How can I make a related field to this field , to store the values in the database?
I tried with this, but this is not working:
payment_amount_due_store = fields.Float(related='partner_id.payment_amount_overdue', string="TEST", store=True)
Thank you for your help.