← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 745795] Re: custom price in a sale.order.line gets lost

 

Hello Azazahmed Saiyed,

could you please explain the reason of using

on_change="product_id_change...

for the field

"product_uom_qty"

see: http://bazaar.launchpad.net/~openerp/openobject-
addons/trunk/view/4614/sale/sale_view.xml#L133

** Changed in: openobject-addons
       Status: Invalid => New

-- 
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):
  New

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