In Odoo v16 I'm trying to archive an Opportunity when it is moved into a a Pipeline Stage named Completed. The automation is not being carried out and I could use some help understanding why. I've configured the following:
Model: Lead/Opportunity
Trigger: On Update
Trigger Fields: Stage (Lead/Opportunity)
Before Update: Stage > Stage Name is not = "Completed"
Apply on: Stage > Stage Name = "Completed"
Action To Do: Update the Record
Data to Write
Field: Active (Lead/Opportunity), Evaluation Type: Value, Value: False