c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #05767
[Bug 680975] Re: In sale orders, changing the quantity changes the price
We Let the Addosn3 team decide.
Thanks.
** Also affects: openobject-addons/5.0
Importance: Undecided
Status: New
** Also affects: openobject-addons/trunk
Importance: Undecided
Status: New
** Changed in: openobject-addons/trunk
Importance: Undecided => Low
** Changed in: openobject-addons/trunk
Status: New => Triaged
** Changed in: openobject-addons/trunk
Assignee: (unassigned) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)
** Changed in: openobject-addons/5.0
Status: New => Triaged
--
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: Triaged
Status in OpenObject Addons 5.0 series: Triaged
Status in OpenObject Addons trunk series: Triaged
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