Community mailing list archives

community@mail.odoo.com

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

by
Torvald Baade Bringsvor, Torvald B. Bringsvor
- 11/27/2014 07:43:52
Hi

Well that is my problem, they are not displayed. But I see there's another bug open for one2many fields, so that may be the issue.

Meanwhile I am rewriting the view to be less sophisticated, so problem is avoided.

-Torvald


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

2014-11-27 10:18 GMT+01:00 Maxim Litnitskiy <litnimaxster@gmail.com>:
In onchange method you set other fields (in python) and they are immediately shown in WEB.
This does not work for readonly fields. Values are changed and displayed but not saved. 




2014-11-27 9:13 GMT+02:00 Lorenzo Battistini <lorenzo.battistini@agilebg.com>:
On 27 November 2014 at 02:51, Torvald Baade Bringsvor <torvald@bringsvor.com> wrote:
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?


Hello,
did you read this
?

Regards 


--
Lorenzo Battistini
Tel (IT): +39 011 198 25481

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe