Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
965 Prikazi

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
Opusti
Best Answer

Hi,
Modify the added code as follows:

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


Thanks

Avatar
Opusti
Avtor Best Answer

Thank you so much.

Great Answer.

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
maj 24
1295
1
jan. 24
1700
0
mar. 15
5424
2
avg. 25
408
2
avg. 25
1409