Openbravo Issue Tracking System - Retail Modules
View Issue Details
0048175Retail ModulesWeb POSpublic2021-11-29 16:432021-12-02 08:38
rtoledano 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
RR20Q3.4 
RR20Q3.4RR22Q1 
No
0048175: Paid receipt / Full Invoice taxes printed in the wrong order
When we re-print an order or Full invoice , the taxes are shown in a wrong order.

I have reviewed and in posterminal code: PaidReceipt.java and Invoices.java, when taxes properties are loaded, a wrong lineNo is taken, also the query is not ordering by the lineNo.

https://mobivia.atlassian.net/browse/NOE-5452 [^]
I didn't reproduced on livebuild , because this bug is dependable of the sampledata and postgresql query plan.

In Norauto wen can reproduced when resend by email the full invoice. In this custom flow the full invoice is loaded using Invoices.java like an invoice is loaded on a Web POS terminal.

There is a proposal diff as attachment.
NOR
diff paidReciptsTaxOrder.diff (2,812) 2021-11-29 16:43
https://issues.openbravo.com/file_download.php?file_id=16406&type=bug
Issue History
2021-11-29 16:43rtoledanoNew Issue
2021-11-29 16:43rtoledanoAssigned To => Retail
2021-11-29 16:43rtoledanoFile Added: paidReciptsTaxOrder.diff
2021-11-29 16:43rtoledanoTriggers an Emergency Pack => No
2021-11-29 16:44rtoledanoTag Attached: NORAUTO
2021-11-29 17:05sebastien_lironversionpi => RR20Q3.4
2021-11-29 17:05sebastien_lironDescription Updatedbug_revision_view_page.php?rev_id=23368#r23368
2021-11-29 17:06sebastien_lironTag Detached: NORAUTO
2021-11-29 17:06sebastien_lironReproducibilityunable to reproduce => always
2021-11-29 17:06sebastien_lironTag Attached: NOR
2021-11-30 10:49ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2021-11-30 15:30rtoledanoDescription Updatedbug_revision_view_page.php?rev_id=23371#r23371
2021-12-01 06:41hgbotNote Added: 0133420
2021-12-01 06:43ranjith_qualiantech_comStatusnew => scheduled
2021-12-02 08:38hgbotNote Added: 0133463
2021-12-02 08:38hgbotResolutionopen => fixed
2021-12-02 08:38hgbotStatusscheduled => closed
2021-12-02 08:38hgbotFixed in Version => RR22Q1
2021-12-02 08:38hgbotNote Added: 0133464

Notes
(0133420)
hgbot   
2021-12-01 06:41   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/645 [^]
(0133463)
hgbot   
2021-12-02 08:38   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/645 [^]
(0133464)
hgbot   
2021-12-02 08:38   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 47751d4a1c7b2d2b9cc4fe2b3de7ba8a01b3d2f6
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-12-02T07:38:20+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/47751d4a1c7b2d2b9cc4fe2b3de7ba8a01b3d2f6 [^]

Fixed ISSUE-48175: Receipt Tax LineNo should be sorted by Order Tax LineNo instead of Tax LineNo
* When loading Paid Receipt, Receipt Tax LineNo should be sorted by Order Tax LineNo

---
M src/org/openbravo/retail/posterminal/Invoices.java
M src/org/openbravo/retail/posterminal/PaidReceipts.java
---