Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047250Retail ModulesWeb POSpublic2021-06-23 10:082021-07-05 07:22
malsasua 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR21Q2.1RR21Q2.1 
Production - Confirmed Stable
2020-06-02
RR20Q4
https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/9f2577afb7b65304a5e4ee18bb834ef5b41df494#c7e7b1a1803a89252d22c91692bd17768ca5938e_10794_10706 [^]
No
0047250: Reprint invoice does not work
In POS, when you try to print the invoice of one paid receipt, error is returned:
Error:
Uncaught (in promise) TypeError: Cannot read property 'scale' of undefined
    at Function.toBigDecimal (9a68e926e3fc6dc57d07450aa2833554.js:105)
    at Function.add (9a68e926e3fc6dc57d07450aa2833554.js:113)
    at Function.add (9a68e926e3fc6dc57d07450aa2833554.js:178)
    at setLineTaxes (9a68e926e3fc6dc57d07450aa2833554.js:90298)
    at 9a68e926e3fc6dc57d07450aa2833554.js:90204
    at Array.map (<anonymous>)
    at Function.b.map.b.collect (underscore-1.3.3.min.js:11)
    at regenerateTaxes (9a68e926e3fc6dc57d07450aa2833554.js:90189)
    at calculateTaxes (9a68e926e3fc6dc57d07450aa2833554.js:90176)
    at G.d.modelOfAnOrder.calculateTaxes (9a68e926e3fc6dc57d07450aa2833554.js:90376)
[BO]
. pricelist with not include taxes
. POSTerminal Type:
Generate Aggregate Invoices: false

[POS]
. new receipt
. complete it
. in Menu-> open receipt
. select previous receipt
. in Menu-> print : Popup is opened (see attachment)
. click in "Print Invoices": error is returned
No tags attached.
blocks defect 0047216 closed ranjith_qualiantech_com Reprint invoice does not work 
Issue History
2021-06-25 08:55marvintmTypedefect => backport
2021-06-25 08:55marvintmTarget Version => RR21Q2.1
2021-06-29 06:08hgbotNote Added: 0129884
2021-06-29 07:55hgbotResolutionopen => fixed
2021-06-29 07:55hgbotStatusscheduled => closed
2021-06-29 07:55hgbotNote Added: 0129888
2021-06-29 07:55hgbotFixed in Version => RR21Q2.1
2021-06-29 07:55hgbotNote Added: 0129889
2021-07-02 13:42hgbotNote Added: 0130097
2021-07-05 07:22hgbotNote Added: 0130121
2021-07-05 07:22hgbotNote Added: 0130122

Notes
(0129884)
hgbot   
2021-06-29 06:08   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/494 [^]
(0129888)
hgbot   
2021-06-29 07:55   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/494 [^]
(0129889)
hgbot   
2021-06-29 07:55   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 712cf562cd336f9ebe48a55129a2d554e527906a
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-06-29T05:54:32+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/712cf562cd336f9ebe48a55129a2d554e527906a [^]

Fixed ISSUE-47250: Line net amount should be used to print invoices

---
M src/org/openbravo/retail/posterminal/InvoiceLinesProperties.java
M web/org.openbravo.retail.posterminal/js/data/dataordertaxes.js
---
(0130097)
hgbot   
2021-07-02 13:42   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/503 [^]
(0130121)
hgbot   
2021-07-05 07:22   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: d6ec386821e9ef7824925385a83b3bd419585a96
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-07-02T15:29:55+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/d6ec386821e9ef7824925385a83b3bd419585a96 [^]

Fixed ISSUE-47250: LineNetAmount should be used to print InvoiceLine TotalAmount

---
M web/org.openbravo.retail.posterminal/js/data/dataordertaxes.js
M web/org.openbravo.retail.posterminal/js/utils/ticketListUtils.js
---
(0130122)
hgbot   
2021-07-05 07:22   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/503 [^]