c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #05690
[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
-
[Bug 680975] Re: In sale orders, changing the quantity changes the price
From: qdp (OpenERP), 2010-12-07
-
[Bug 680975] Re: In sale orders, changing the quantity changes the price
From: qdp (OpenERP), 2010-12-07
-
[Bug 680975] Re: In sale orders, changing the quantity changes the price
From: philu, 2010-12-02
-
[Bug 680975] Re: In sale orders, changing the quantity changes the price
From: vra (openerp), 2010-11-25
-
[Bug 680975] [NEW] In sale orders, changing the quantity changes the price
From: Margarita Manterola, 2010-11-24
References