Warning when save sale.order.line only on web client

Bug #690892 reported by Romain Deheele - Camptocamp on 2010-12-16
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Odoo Web Client
OpenERP R&D Web Team

Bug Description


client web : rev 4118
server : 3118
addons : 4015

When I save a sale.order.line in the pop-up "sale.order.line".
The line is correctly added in the sale order lines list (in the sale.order form) but a warning window pops up!
"You have to select a customer in the sale form ! Please set one customer before choosing a product." (While I select correctly a partner (customer)!)

When I save the sale.order.line, the server pass in the "product_id_change" function again one time.
the parameter partner_id is False at this passing. And then, the osv.except is loading.
Even though this function is called before with the onchange functions...and at this passing, the partner_id is found.

Why the write function of sale.order.line calls this function "product_id_change" again? Is it normal?
The GTK client hasn't this problem.

Thanks for your helps in advance,


Changed in openobject-client-web:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → OpenERP SA's Web Client R&D (openerp-dev-web)
Changed in openobject-client-web:
status: Confirmed → In Progress
Revision history for this message
Serge (sboivin) wrote :

dunno if is link, but if you trace server code, you will see for each action all do two times,


you open a wizard, get defaut call 2 time a start, call one time on button press (before button action) call one more time after button action ( if action is close, default get call lol)

Revision history for this message
Sananaz (Open ERP) (sma-tiny) wrote :

Hello romainD,

It fixed in trunk web-client. Please update your code.

4148 <email address hidden>


Changed in openobject-client-web:
status: In Progress → Fix Released
milestone: none → 6.0-rc2
Revision history for this message
Romain Deheele - Camptocamp (romaindeheele) wrote :


Revision history for this message
Maxime LUCE (maxime-luce) wrote :


I have the same bug in OpenERP 6.0.1 stable version.


To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers