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

Hi All,

Good Morning,


I'm using odoo enterprise (odoo online) , please help i try to make an automation rules for Quotation like this :


if the Quotation > Confirm > Source Document name change to Quotation No.


here is my execute code in automation rules but not working :

record.write({'origin': 'name'})


and the result is after Quotation i clik confirm 


source document : name


Thank You

الصورة الرمزية
إهمال
أفضل إجابة

Hi,
Modify the added code as follows:

record.write({'origin': record.name})


Thanks

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

Thank you so much.

Great Answer.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
مايو 24
1292
1
يناير 24
1692
0
مارس 15
5420
2
أغسطس 25
398
2
أغسطس 25
1406