Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047251Retail ModulesWeb POSpublic2021-06-23 10:082021-07-05 07:22
malsasua 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR21Q1.4RR21Q1.4 
Production - Confirmed Stable
2020-06-02
RR20Q4
https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/9f2577afb7b65304a5e4ee18bb834ef5b41df494#c7e7b1a1803a89252d22c91692bd17768ca5938e_10794_10706 [^]
No
0047251: 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 => RR21Q1.4
2021-06-29 06:08hgbotNote Added: 0129885
2021-06-29 07:55hgbotResolutionopen => fixed
2021-06-29 07:55hgbotStatusscheduled => closed
2021-06-29 07:55hgbotFixed in Version => RR21Q1.4
2021-06-29 07:55hgbotNote Added: 0129890
2021-06-29 07:55hgbotNote Added: 0129891
2021-07-02 13:42hgbotNote Added: 0130099
2021-07-05 07:22hgbotNote Added: 0130123
2021-07-05 07:22hgbotNote Added: 0130124

Notes
(0129885)
hgbot   
2021-06-29 06:08   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/495 [^]
(0129890)
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: 97e82d310fb2416997fb5773e8b250717429d66f
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-06-29T05:55:12+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/97e82d310fb2416997fb5773e8b250717429d66f [^]

Fixed ISSUE-47251: 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
---
(0129891)
hgbot   
2021-06-29 07:55   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/495 [^]
(0130099)
hgbot   
2021-07-02 13:42   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/502 [^]
(0130123)
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: 742a25aada43653c9c556c77bf8c4b0aa2073312
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-07-02T15:29:52+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/742a25aada43653c9c556c77bf8c4b0aa2073312 [^]

Fixed ISSUE-47251: 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
---
(0130124)
hgbot   
2021-07-05 07:22   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/502 [^]