Comment 2 for bug 1174734

Revision history for this message
Rifakat Husen (OpenERP) (rha-openerp) wrote :

Hi,

I think the root problem is the arrangement of the fields in the quotation form.
field customer comes first in the view arrangement and then field shop_id comes and as per the web client
architecture it will first execute customer on_change and then execute shop_id on_change.

As shop_id executes latter, it will fill value of Pricelist based on shop on_change and that's the reason customer's
pricelist is getting vanished.

It indeed needs a tricky solution, putting shop_id before the customer should actually solve the problem(note in previous versions shop_id was before customer, at the top), but that would not look good.

Attached patch will change the placement of the shop(before) and customer fields without changing the GUI feel.
This is just an alternative solution for the same bug report.

Regards,
Rifakat