← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 680975] Re: In sale orders, changing the quantity changes the price

 

** Changed in: openobject-addons/5.0
       Status: Triaged => Won't Fix

** Changed in: openobject-addons
       Status: Triaged => Won't Fix

** Changed in: openobject-addons/5.0
   Importance: Undecided => Wishlist

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

Title:
  In sale orders, changing the quantity changes the price

Status in OpenObject Addons Modules:
  Won't Fix
Status in OpenObject Addons 5.0 series:
  Won't Fix
Status in OpenObject Addons trunk series:
  Won't Fix

Bug description:
  Hi!

This has been tested in 5.0.14, because that's the version I'm currently working with.  But I've checked the code in the 6.0 trunk and it looks it hasn't changed, so it should be valid there too.

The problem is that the onchange of both product_id and product_uom_qty call product_id_change, and both re-get the price.  So, if the user sets the price first and the quantity after it, the price is overwriten.

This makes no sense.  They should either call different functions or take into account the "update_tax" field and do not update the price either.





References