← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 690892] Re: Warning when save sale.order.line only on web client

 

Thanks!

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/690892

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

Status in OpenObject Web Client:
  Fix Released

Bug description:
  Hello,

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,

Romain





References