Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
750 Vistas

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
Mejor respuesta

Hi,
Modify the added code as follows:

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


Thanks

Avatar
Descartar
Autor Mejor respuesta

Thank you so much.

Great Answer.

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
may 24
1074
1
ene 24
1523
0
mar 15
5272
2
jun 25
887
0
abr 25
2229