Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
966 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
1296
1
ene 24
1704
0
mar 15
5426
2
ago 25
413
2
ago 25
1411