I have a one2many relation where the many end model has a selection field and a method that computes a value from the selection and some other values and then returns the computed value and uses it for calculation with the values of dependent fields. (tried onchange, same result)
The problem is when I get values this way for my computed fields in my tree view with option editable="bottom" it computes the correct value when I press save, but when edit the record fields of any dependent field the value just becomes 0, until I save it again and only then the correct value is displayed.
I want it to show the the computed value when changing the dependent fields just like if I only use field values and not methods.
Is this possible? If yes an example would be nice, if not... at least I don't waste my time with it and have to try different approach.
And getting the value from fields and calculate it in the same model is a NO GO, the method uses some stuff that cannot be hard coded but it has to be dependant on user input.