Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
970 Zobrazení

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
Zrušit
Nejlepší odpověď

Hi,
Modify the added code as follows:

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


Thanks

Avatar
Zrušit
Autor Nejlepší odpověď

Thank you so much.

Great Answer.

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
kvě 24
1299
1
led 24
1711
0
bře 15
5433
2
srp 25
436
2
srp 25
1418