跳至内容
菜单
此问题已终结
1 回复
3163 查看

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

形象
丢弃
最佳答案

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

形象
丢弃
编写者

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

相关帖文 回复 查看 活动
1
8月 24
2061
1
11月 23
3357
0
1月 21
3359
0
5月 20
3031
1
4月 20
4671