Edit button triggers on_change events
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web Client |
New
|
Undecided
|
Unassigned |
Bug Description
In GTK client when you load a record on_change events doesn't trigger, and that is correct because is getting the values from the DB, but in web client when you press the edit button, and the form is loading the values, all the on_change methods are triggered.
I have a lot of on_change envents on a view which some of them also shows some warnings and everytime a record is loaded i see all those warnings and the client works so slowly because is triggering one by one all the methods.
The webs server log, which is triggering an on_change per second, so imagine when i have about 50 or 60 fields triggering their method...
172.16.100.152 - - [13/Dec/
172.16.100.152 - - [13/Dec/
172.16.100.152 - - [13/Dec/
172.16.100.152 - - [13/Dec/
172.16.100.152 - - [13/Dec/
summary: |
- Edit button triggers on_change events and shouldn't + Edit button triggers on_change events |