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

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
5月 24
1310
1
1月 24
1732
0
3月 15
5464
2
8月 25
479
2
8月 25
1488