Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031931Retail ModulesCash uppublic2016-01-05 11:312016-01-20 16:43
ngarcia 
Retail 
immediatemajoralways
closedfixed 
5
 
RR15Q3.4RR15Q3.4 
guilleaer
No
0031931: Duplicated invoice lines are added to an invoice during the cash up if the order line is already invoiced in more than one line
Duplicated invoice lines are added to an invoice during the cash up if the order line is already invoiced in more than one line
In the backend:
   Go to Organization-Warehouse tab and leave the Vall Blanca Store Warehouse as the only on hand warehouse for Vall Blanca Store (remove others)
   Create a new Storage Bin for that warehouse
   Increase the stock of the 'Compression sacks cordura' in the new bin to 2 units by a Physical Inventory for instance
   Check the stock of the product is 1 unit in the other Storage bin
In the POS:
   Create a Sales Order for 3 units of that product
   Select the Invoice this receipt option and pay it
In the backend:
   Check the sales order created has one line and the goods shipment and sales invoice have two lines (one for each storage bin)
In the POS:
   Do the Cash up
I the backend:
   Check a new line has been included in the sales invoice and the creation date of one of the previous ones have been modified
   The total gross amount of the invoice is correct but it does not match the sum of the line gross amounts of the lines
No tags attached.
blocks defect 0031820 closed ranjith_qualiantech_com Duplicated invoice lines are added to an invoice during the cash up if the order line is already invoiced in more than one line 
Issue History
2016-01-18 16:27guilleaerTypedefect => backport
2016-01-18 16:27guilleaerTarget Version => RR15Q3.5
2016-01-20 12:25marvintmTarget VersionRR15Q3.5 => RR15Q3.4
2016-01-20 16:41hgbotCheckin
2016-01-20 16:41hgbotNote Added: 0083466
2016-01-20 16:41hgbotStatusscheduled => resolved
2016-01-20 16:41hgbotResolutionopen => fixed
2016-01-20 16:41hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR15Q3.4/org.openbravo.retail.posterminal/rev/4dc35f21f344d2c8040ccd95eb4797db75b93f50 [^]
2016-01-20 16:43guilleaerReview Assigned To => guilleaer
2016-01-20 16:43guilleaerNote Added: 0083467
2016-01-20 16:43guilleaerStatusresolved => closed
2016-01-20 16:43guilleaerFixed in Version => RR15Q3.4

Notes
(0083466)
hgbot   
2016-01-20 16:41   
Repository: retail/backports/3.0RR15Q3.4/org.openbravo.retail.posterminal
Changeset: 4dc35f21f344d2c8040ccd95eb4797db75b93f50
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Wed Jan 20 16:41:50 2016 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR15Q3.4/org.openbravo.retail.posterminal/rev/4dc35f21f344d2c8040ccd95eb4797db75b93f50 [^]

Fixes issue 31931 : Deleting duplicated invoice line after cashup

---
M src/org/openbravo/retail/posterminal/OrderGroupingProcessor.java
---
(0083467)
guilleaer   
2016-01-20 16:43   
Closed by guilleaer because author of the commit was ranjit