Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2 Besvarelser
946 Visninger

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
Kassér
Bedste svar

Hi,
Modify the added code as follows:

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


Thanks

Avatar
Kassér
Forfatter Bedste svar

Thank you so much.

Great Answer.

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
maj 24
1289
1
jan. 24
1687
0
mar. 15
5417
2
aug. 25
386
2
aug. 25
1404