← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

We need an on_change on product_uom_qty of course, but I think it should
call a specific function product_uom_qty_change and not
product_on_change ! These two functions could share some code of course,
via some common subfunction.

Here is why. Consider this scenario :
1. Add a new sale order line and select a product that has a "Sale description". The "sale description" is copied in the "Notes" tab.
2. Personnalize the description.
3. Go back to the first tab and change the quantity.
4. If you go again in the "Notes" tab, you see that your personnalisation of the description has been lost.

It's an important usability issue. I have some customers complaining
about this.

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/745795

Title:
  custom price in a sale.order.line gets lost

Status in OpenERP Addons (modules):
  Invalid

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/745795/+subscriptions


References