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

Hallo

In sale_order_line I would like to override the default value of state field with a computed one (that is, not a fixed pre-determined one), based on state field of parent sale_order.

Which way should I go for? 

Can I refer to a field of a parent model within the default_get?


Аватар
Відмінити
Автор

I found an interesting starting point: https://www.odoo.com/forum/help-1/question/use-default-get-with-field-related-and-get-id-from-parent-22476

Related Posts Відповіді Переглядів Дія
4
серп. 15
10436
0
бер. 15
4024
2
січ. 24
12857
2
бер. 15
4924
0
лист. 23
1408