Warning when save sale.order.line only on web client
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web Client |
Fix Released
|
Medium
|
OpenERP R&D Web Team |
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
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 |
dunno if is link, but if you trace server code, you will see for each action all do two times,
sample
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)