Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
961 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

Hi,
Modify the added code as follows:

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


Thanks

Awatar
Odrzuć
Autor Najlepsza odpowiedź

Thank you so much.

Great Answer.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
maj 24
1294
1
sty 24
1699
0
mar 15
5423
2
sie 25
404
2
sie 25
1409