跳至內容
選單
此問題已被標幟
1 回覆
3178 瀏覽次數

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
2091
1
11月 23
3377
0
1月 21
3373
0
5月 20
3040
1
4月 20
4687