I'm trying to add a computed field from the UI (x_my_field) to the model sale.order whose value is computed based on 2 other fields, let's say field1 from the model sale.order.line and field2 from the model mrp.bom.line :
x_my_field = sale_order_line.field1 * mrp_bom_line.field2
But i can't figure out how to add the correct dependencies !!! to make it work.
All fields are of type float.
Any advice or help !