Neither of these actions updates the write_date of the corresponding record.
How can I change this behavior?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Neither of these actions updates the write_date of the corresponding record.
How can I change this behavior?
I have not investigated any performance implications of doing this.
You should test if/how this affects performance because notes are also added by Odoo when specific conditions are met (record confirmed, edited) AND when Customers reply to emails.
Create the following Automated Action:
for record in records:
if record.model:
lead_to_update = env[record.model].search([('id','=',record.res_id)]).write({'write_date': datetime.datetime.now()})