Skip to Content
This question has been flagged
1 Reply
4489 Views

Openerp 7.0 Function field Save="True" method executed only after the edit the records. How to execute the method before the edit the record and also save in database?

Avatar
Discard
Best Answer

Only using a hack: use an on_change method.

Avatar
Discard

Please can someone give me an example how to use on_change method with a function field?

I've heard about the mysterious behavior, that on_change methods can return values for function fields. But how exactly is that done? Do i have to write a on_change method for every field that is listet in the store-dictionary? That would be verbose.. And not possible for fields of other objects...