c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #21509
[Bug 745795] Re: custom price in a sale.order.line gets lost
I'm answering to myself: I think using that method (product_id_change)
for "product_uom_qty" to be correct.
Since the unit price computation is based on pricelist rules that can
involve the sold quantity, the unit price should be computed every time
the quantity changes.
For me, this is not a bug
--
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/745795
Title:
custom price in a sale.order.line gets lost
Status in OpenERP Modules (addons):
Confirmed
Bug description:
Observed in OE 6.0 and trunk rev 4613.
To reproduce: create a new SO, new sale.order.line, enter a custom
price. Then save and change the quantity of that product. Unit price
is reset to the standard unit price (from the pricelist of whatever).
Possible solution: the uom_qty field shouldn't have on_change
(product_id_change). Or it should have its own onchange function that
does the right thing.
Follow ups
References