← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Public bug reported:

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.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
In sale orders, changing the quantity changes the price
https://bugs.launchpad.net/bugs/680975
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: New

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.





Follow ups

References