Field related - one sided relation
Is it possible to use related field that it would only work one sided?
For example let say there are two fields:
'field2': fields.related('related_id', 'field1', type="float", string="Field 2") 'field1': fields.float('Field 1')
If this would be used, then doesn't matter which field would be changed, the other would change too. Is it possible to make that changing
field2 would change to
field1 value, but changing
field1 wouldn't change?
Note. I think on_change method would not work here, because these fields are in different tables and in different views.