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?
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 7/26/15, 10:09 AM|
|Seen: 399 times|
|Last updated: 7/26/15, 11:00 AM|