Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0006172Openbravo ERP03. Procurement managementpublic2008-11-24 12:082009-01-26 16:53
RenateNieuwkoop 
rafaroda 
normalminoralways
closedduplicate 
5
2.40 
 
Core
No
0006172: Purchase Order: unit price changes to zero when I change the quantity on the line for a copied line
Reload Current Page Procurement Management || Transactions || Purchase Order || Header >> Lines

If I enter a Purchase Order Header, save it, and create a line with 'copy lines', I select a product, leave the price as it is and enter the quantity. As I click 'ok', the line gets created.
Then if I change the quantity on the line, it removes the unit price and puts a zero instead. This is a bug.
When I enter a line manually instead of 'copy lines' the problem does not occur.
No tags attached.
duplicate of defect 00070982.40 closed rafaroda Unit price set to zero when you change quantity in lines created with Copy Lines button 
depends on backport 0006970 closed rafaroda Purchase Order: unit price changes to zero when I change the quantity on the line for a copied line 
Issue History
2008-11-24 12:08RenateNieuwkoopNew Issue
2008-11-24 12:08RenateNieuwkoopAssigned To => rafaroda
2008-11-24 12:08RenateNieuwkoopsf_bug_id0 => 2338242
2008-12-15 09:36rafarodaNote Added: 0011341
2008-12-15 09:36rafarodaStatusnew => feedback
2008-12-18 18:02RenateNieuwkoopNote Added: 0011548
2008-12-18 18:44RenateNieuwkoopNote Added: 0011560
2009-01-19 09:39psarobeversion => 2.40
2009-01-19 09:39psarobeStatusfeedback => scheduled
2009-01-19 09:39psarobefix_in_branch => trunk
2009-01-23 12:45rafarodaRelationship addedhas duplicate 0007098
2009-01-26 16:53rafarodaRegression testing => No
2009-01-26 16:53rafarodaRelationship replacedduplicate of 0007098
2009-01-26 16:53rafarodaStatusscheduled => closed
2009-01-26 16:53rafarodaNote Added: 0012634
2009-01-26 16:53rafarodaDuplicate ID0 => 7098
2009-01-26 16:53rafarodaResolutionopen => duplicate

Notes
(0011341)
rafaroda   
2008-12-15 09:36   
Renate, please provide the environment where this issue reproduces and data about the price lists used (do they have a price for the product selected?). Thank you.
(0011548)
RenateNieuwkoop   
2008-12-18 18:02   
Hi Rafa,

We had this problem in the Training environment, which is the 2.40 community version but with our specific data.
So the Pricelist we select is the Purchase Price list.

cheers
Renate
(0011560)
RenateNieuwkoop   
2008-12-18 18:44   
When you do the copy lines it gives a 'last price' in that popup. But whether you overwrite it with a different value or leave it the same doesn't make a difference, in both cases the discount % is left blank (which wasn't the case in 2.35).
(0012634)
rafaroda   
2009-01-26 16:53   
This defect is duplicated of https://issues.openbravo.com/view.php?id=7098 [^]