Hi
If the user opens a record in edit mode, changes a field, @api.onchange/depends may be triggered, when the user hit the UI's [Save] button everything get saved.
I would like to reproduce this programatically:
for record in proxy.browse(cr, uid, active_ids, context=context):
record.field = record.field + " new"
# onchange/depends may be triggered and change other fields
record.write(...) # Here I am forced to pass the values to save,
# how to save all values ? (or at least the one changed)
How to achieve such thing ?
Regards