Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
974 Переглядів

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

Аватар
Відмінити
Найкраща відповідь

Hi,
Modify the added code as follows:

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


Thanks

Аватар
Відмінити
Автор Найкраща відповідь

Thank you so much.

Great Answer.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
трав. 24
1300
1
січ. 24
1717
0
бер. 15
5442
2
серп. 25
445
2
серп. 25
1425