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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
Only using a hack: use an on_change
method.
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...
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up