On change methods are executed without manipulation of the user

Bug #906003 reported by Brillot
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Web Client
Fix Released
Undecided
Unassigned

Bug Description

I have a quotation with a specific account analytic different of the shop's analytic account

When you click "edit" on a quotation in a form view with the web client, your analytic Account data disapear (or replace with other data). OK with GTK Client

All onchange methods are executed without manipulation of the user. So the onchange method for the field shop replace your analytic account with the shop's analytics account and you lost your data if you save the form.

The problem must exist for others forms, i suppose.

Web client problem ?

Navigator : chromium 15
Open erp & web client : 6.0.3

Revision history for this message
Brillot (brillot) wrote :
Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Brillot,

I have checked your issue with latest code of stable-6 at my end, but all are working fine.

I have attached a video for your more reference, so would you please check it and notify us where you faced the problem.

Thank you!

Revision history for this message
Amit Parik (amit-parik) wrote :
Changed in openobject-client-web:
status: New → Incomplete
Revision history for this message
Brillot (brillot) wrote :

Same test with my install, look at the attachment.

I have made the test on 4 servers, For 2 the problem appears, 2 are ok. (2 on ubuntu (1 ok), 2 ubuntu throw virtualbox (1 ok) )

The video is fast but when the problem appear you can see the analytics account when the form is loaded but disappear quickly.

 very strange like trigger onchange are done before all the page loaded...

Best regards,

Emmanuel.

Revision history for this message
Nicolas Clavier (nicoclavier) wrote :

I confirm this issue as general but unpredictable behavior:
see forum: http://www.openerp.com/forum/post98200.html#p98200

In a complete custom module, on_change events trigger at view init time, though some other forms don't show such problem.
This is a serious bug since it breaks the form's logic.

I don't see where to start investigating. Could it be the object's default values being applyed (get defaults)

Help appreciated

Rgds,
Nicolas

Changed in openobject-client-web:
status: Incomplete → Confirmed
Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Brillot,

You are right, this problem was producible since ago.

Because it is already fixed on http://bazaar.launchpad.net/~openerp/openobject-client-web/6.0/revision/4685 revision number.

Thank you!

Changed in openobject-client-web:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.