Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
793 Представления

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
1109
1
янв. 24
1557
0
мар. 15
5286
2
июн. 25
979
0
апр. 25
2291