Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0034498Openbravo ERP07. Sales managementpublic2016-11-14 17:012016-12-16 18:39
nataliag 
alekosmp86 
normalmajoralways
closedfixed 
5
 
3.0PR17Q1 
aferraz
Core
No
0034498: Duplicity in lines printing a sales order
If you print a sales order that contains a product that is part of a BOM product,it appears twice.
1- Login in the backend.
2- Select The white VAlley Admin group.
3- Go to "Sales order" window.
4- Create a new record inserting in the lines section the product "Ice screw bag"(This product is part of the BOM product "Mountain pack").
5- Save it and print it.
6- The line of "Ice screw bag" product appears twice.
No tags attached.
related to defect 00279443.0PR15Q1 closed reinaldoguerra Not Stocked BOM lines are printed without price in orders 
related to defect 00266683.0PR14Q3 closed AtulOpenbravo The Sales Quotation and order report are showing wrong information for non stocked BOM products 
Issue History
2016-11-14 17:01nataliagNew Issue
2016-11-14 17:01nataliagAssigned To => Triage Finance
2016-11-14 17:01nataliagModules => Core
2016-11-14 17:01nataliagResolution time => 1480892400
2016-11-14 17:01nataliagTriggers an Emergency Pack => No
2016-11-15 09:19nataliagDescription Updatedbug_revision_view_page.php?rev_id=13710#r13710
2016-11-15 09:19nataliagSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=13712#r13712
2016-11-17 09:13aferrazAssigned ToTriage Finance => Sanjota
2016-11-17 09:20aferrazAssigned ToSanjota => alekosmp86
2016-11-21 15:14alekosmp86Note Added: 0091702
2016-11-25 10:47aferrazRelationship addedrelated to 0027944
2016-11-25 11:09aferrazRelationship addedrelated to 0026668
2016-11-25 11:53hgbotCheckin
2016-11-25 11:53hgbotNote Added: 0091834
2016-11-25 11:53hgbotStatusnew => resolved
2016-11-25 11:53hgbotResolutionopen => fixed
2016-11-25 11:53hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/97fe6cfd49444ba82e9f591f70c65bfd4a57e018 [^]
2016-11-25 11:54aferrazReview Assigned To => aferraz
2016-11-25 11:54aferrazNote Added: 0091835
2016-11-25 11:54aferrazStatusresolved => closed
2016-11-25 11:54aferrazFixed in Version => 3.0PR17Q1
2016-12-16 18:39hudsonbotCheckin
2016-12-16 18:39hudsonbotNote Added: 0092660

Notes
(0091702)
alekosmp86   
2016-11-21 15:14   
Test plan 1:
  Install the Retail Sample Data.
  Log in as WhiteValleyGroupAdmin
  Go to Sales Order screen
   Create a new document
      Org: Vall Blanca Store
      BP: VBS Customer
   Save the document
   
   Go to Lines tab
      Add a new line
         Product: Ice screw bag (this product is part of a BOM product)
     Qty: 3
      Save the line

   Notice the order's amount is 29.70

   Go to Header tab
      Print the previously created order.

   Notice that the product Ice screw bag now appears only once and the total of the order is 29.70.


Test plan 2:
  Log in as WhiteValleyGroupAdmin
  Go to Sales Order screen
   Create a new document
      Org: Vall Blanca Store
      BP: VBS Customer
   Save the document
   
   Go to Lines tab
      Add a new line
         Product: Ice screw bag (this product is part of a BOM product)
     Qty: 3
      Save the line
      Add a new line
         Product: Avalanche transceiver (this product is not part of a BOM product)
     Qty: 3
      Save the line

   Go to Header tab
      Print the previously created order.

Notice that both products appears only once. In this case the total should be 481.20.
(0091834)
hgbot   
2016-11-25 11:53   
Repository: erp/devel/pi
Changeset: 97fe6cfd49444ba82e9f591f70c65bfd4a57e018
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Fri Nov 25 11:27:36 2016 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/97fe6cfd49444ba82e9f591f70c65bfd4a57e018 [^]

Fixes issue 34498: Duplicity in lines printing a sales order

When printing a sales order that contains a product that is part of a BOM product,
it was appearing twice. The report was changed so it now returns the product only
once.

---
M src/org/openbravo/erpReports/C_OrderLinesJR_new.jrxml
M src/org/openbravo/erpReports/C_OrderLinesTaxIncludedJR_new.jrxml
---
(0091835)
aferraz   
2016-11-25 11:54   
Code review + Testing OK
(0092660)
hudsonbot   
2016-12-16 18:39   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/dc8bf00badd0 [^]
Maturity status: Test