Skip to Content
Menú
This question has been flagged
2 Respostes
951 Vistes

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

Hi,
Modify the added code as follows:

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


Thanks

Avatar
Descartar
Autor Best Answer

Thank you so much.

Great Answer.

Avatar
Descartar
Related Posts Respostes Vistes Activitat
0
de maig 24
1292
1
de gen. 24
1691
0
de març 15
5420
2
d’ag. 25
395
2
d’ag. 25
1405