← Back to team overview

openerp-india team mailing list archive

[Bug 1112585] Re: Purchase order line description gets clobbered when quantity changes

 

*** This bug is a duplicate of bug 1097769 ***
    https://bugs.launchpad.net/bugs/1097769

Hello Phil,

First of all this is not a bug. As mention hiral's comment on
lp:1097769.... product_id_change and qty_change called simultaneously,
So whenever the qty_change will call it will automatically call the
product_id_change (on_change orm method) and then it will reset the
price... (Courtesy from lp:1097769 hiral's comment#1). So the same thing
happens on your case cause product_id_change set the products name on
description.

That's why you will see again the same product name after changed the
quantity due to qty_change.

If once the lp:1097769 will fix, you issue will automatically resolved.
So I am making this as a duplicate of lp:1097769.

Thank you!

** This bug has been marked a duplicate of bug 1097769
   [trunk/7.0]Sale order/Purchase Order change quantity after changed the price once.

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1112585

Title:
  Purchase order line description gets clobbered when quantity changes

Status in OpenERP Addons (modules):
  New

Bug description:
  I can reproduce this on the 7.0 demo at openerp.com.

  - create a new purchase order
  - add a new line
  - for this new line, select any product. The product's description is copied to the description on the purchase order line
  - change the purchase order line description
  - change the purchase order line quantity
  - the purchase order line description reverts to the product description

  The workaround is to change the quantity, then the description, but
  this isn't what most people do at first, since they more likely fill
  the fields in left-to-right order.

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


References