← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 689487] Re: [sale] [trunk] Amending quantity on quotation causes manual price to reset on exit

 

Workaround: Rather than changing price, change the discount field.  The
onchange call doesn't effect this.  Will accept a negative discount to
increase price.  Over ride the view to make the price field readonly.

-- 
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/689487

Title:
  [sale] [trunk] Amending quantity on quotation causes manual price to reset on exit

Status in OpenObject Addons Modules:
  New

Bug description:
  To replicate is pretty easy.   This is all on todays trunk revisions, but this code has been in sale module for a long time.

Just use demo data and take SO001 with module sale installed. 

Now change the price of an item on that order and hit save and close - the new price shows and we can save the order, confirm if we want all that good stuff.  Now go back in to that line, lets say the customer has accepted our quote but wants 1 extra (or less) - we amend the quantity and the price reverts back to the pricelist price as a result of a call to product_id_change in the sale order view for 'product_uom_qty'. 

I would expect that when doing a quote if I change the price manually, that changing the quantity does not lose my manual price. 

It's a tricky one, I see why we want to call on a qty change - in case it is a new qty break, but resetting a manually set price is really annoying for a user.  Especially as there is no way to get it back, so unless you can remember it, it is gone.





References