Skip to Content
Menu
This question has been flagged
2 Replies
604 Views

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

Avatar
Discard
Best Answer

Hi,
Modify the added code as follows:

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


Thanks

Avatar
Discard
Author Best Answer

Thank you so much.

Great Answer.

Avatar
Discard
Related Posts Replies Views Activity
0
May 24
797
1
Jan 24
1272
0
Mar 15
5103
2
Jun 25
445
0
Apr 25
1753