Community mailing list archives

community@mail.odoo.com

What should onchange methods return? Can't update values.

by
Torvald Baade Bringsvor, Torvald B. Bringsvor
- 11/26/2014 20:48:30
Hi

The document here: https://www.odoo.com/forum/how-to/developers-13/what-should-onchange-methods-do-and-return-57760 is exactly what I need, except it is for V7 and earlier.

Anyone have any experience with returning values on V8?

I'm having problems with my onchange method in a tree view within a form. When the user changes one value then presses Enter that specific value is changed, but the other fields calculated by the onchange are not updated.

Any help would be appreciated.

-Torvald


Torvald Baade Bringsvor
Bringsvor Consulting AS - Odoo (formerly OpenERP) implementation partner