Hi Team
I use Odoo sh 15 and i would like some help if possible
I use Projects-Tasks and when a task goes to "Completed" Stage i create a record on a second model witch i call Report (x_report).
My automated action is based on stage change to completed and i move the name of the task (name) and the Task (record.id). The rest of the fields i have them populate as related fields from the Task.
Ho can i Delete the record from x_report when i move the task from "Completed" to any other stage?
I know its an automated action but im stuck at the python code and how to implement this using unlink().
Thanks in advance peeps