Skip to Content
मेन्यू
This question has been flagged
4062 Views

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?


Avatar
Discard
Author

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 Replies Views Activity
4
अग॰ 15
10331
0
मार्च 15
3938
2
जन॰ 24
12798
2
मार्च 15
4878
0
नव॰ 23
1371