In Odoo V11 CE, we use the 'Create a task in an existing project' option in the 'Service Tracking' field. If a Sale Order is cancelled, we have to remember to manually archive the related Task, so that it no longer appears to assigned users etc.
Is it possible to create an automated action that will archive a Task related to a Sale Order that has been cancelled?
I'm new to Automated Actions and Python, so if someone can suggest the Python code (I'm assuming it will be necessary) to use to update the related Task, that would be very much appreciated!
Thank you.