Skip to Content
मेन्यू
This question has been flagged
2 Replies
962 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
मई 24
1295
1
जन॰ 24
1700
0
मार्च 15
5423
2
अग॰ 25
405
2
अग॰ 25
1409