c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #21526
Re: [Bug 745795] Re: custom price in a sale.order.line gets lost
That is precisely the reasoning I use to clients. If they offer a special
price on a line then configure it as a discount. This is not changed by any
on_change in sale order.
On Sat, Apr 9, 2011 at 1:41 AM, Lorenzo Battistini - agilebg.com <
lorenzo.battistini@xxxxxxxxxxx> wrote:
> 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 subscribed to OpenERP
> Addons.
> 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.
>
--
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.
References