Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
4270 Vizualizări

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?


Imagine profil
Abandonează
Autor

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 Răspunsuri Vizualizări Activitate
4
aug. 15
10569
0
mar. 15
4187
2
ian. 24
13018
2
mar. 15
5029
0
nov. 23
1498