Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
953 มุมมอง

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.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
พ.ค. 24
1292
1
ม.ค. 24
1691
0
มี.ค. 15
5420
2
ส.ค. 25
396
2
ส.ค. 25
1405