Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
3169 Prikazi

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

Avatar
Opusti
Best Answer

Hi @Asher Rodriquez-Dunn

I hope you are doing well,

For you to archive a record through the automated action, you will need to implement the following configurations as displayed in the screenshot provided below.

You will need to select execute python code in action to do field and use the code as in screenshot.

I hope this will help you.

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

Avatar
Opusti
Avtor

This is very helpful @Jainesh Shah(Aktiv Software) - thank you!

Related Posts Odgovori Prikazi Aktivnost
1
avg. 24
2086
1
nov. 23
3365
0
jan. 21
3371
0
maj 20
3038
1
apr. 20
4684