Skip to Content
Menú
This question has been flagged
2 Respostes
693 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
991
1
de gen. 24
1452
0
de març 15
5219
2
de juny 25
755
0
d’abr. 25
2133