تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3180 أدوات العرض

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
أغسطس 24
2093
1
نوفمبر 23
3380
0
يناير 21
3375
0
مايو 20
3041
1
أبريل 20
4690