Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
948 Visualizações

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
Cancelar
Melhor resposta

Hi,
Modify the added code as follows:

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


Thanks

Avatar
Cancelar
Autor Melhor resposta

Thank you so much.

Great Answer.

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
mai. 24
1291
1
jan. 24
1687
0
mar. 15
5418
2
ago. 25
387
2
ago. 25
1405