Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0047216
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2021-06-23 10:082021-07-05 07:23
ReportermalsasuaView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityhighResolutionfixedFixed in VersionRR21Q3
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression levelProduction - Confirmed Stable
Regression date2020-06-02
Regression introduced in releaseRR20Q4
Regression introduced by commithttps://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/9f2577afb7b65304a5e4ee18bb834ef5b41df494#c7e7b1a1803a89252d22c91692bd17768ca5938e_10794_10706 [^]
Triggers an Emergency PackNo
Summary

0047216: Reprint invoice does not work

DescriptionIn 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)
Steps To Reproduce[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
TagsNo tags attached.
Attached Filespng file icon issue1.png [^] (1,265,922 bytes) 2021-06-23 11:03
jpeg file icon WhatsApp Image 2021-06-29 at 09.35.22.jpeg [^] (258,326 bytes) 2021-06-29 14:49

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0047250RR21Q2.1 closedranjith_qualiantech_com Reprint invoice does not work 
depends on backport 0047251RR21Q1.4 closedranjith_qualiantech_com Reprint invoice does not work 

-  Notes
(0129786)
hgbot (developer)
2021-06-25 03:53

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/484 [^]
(0129825)
hgbot (developer)
2021-06-28 07:20

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/484 [^]
(0129826)
hgbot (developer)
2021-06-28 07:20

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 6365a73bb01319d0038d92f2101cb4d016e91468
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-06-28T05:20:22+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/6365a73bb01319d0038d92f2101cb4d016e91468 [^]

Fixed ISSUE-47216: 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
---
(0129947)
santi_lozano (reporter)
2021-06-29 14:52

Reopened again
Customer applied the fix, now it can reprint invoice and order but the quantities are not correct
(see image attached now, first case is ok old one, the others the invoice and the order reprint incorrect)
it happens when a line has a promotion and always with rate without taxes
(0130067)
hgbot (developer)
2021-07-01 16:06

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/500 [^]
(0130069)
hgbot (developer)
2021-07-01 16:24

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: e926eab2f347103a225ff5d65886fdb0c955a418
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-07-01T14:23:55+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/e926eab2f347103a225ff5d65886fdb0c955a418 [^]

Fixed ISSUE-47216: 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
---
(0130070)
hgbot (developer)
2021-07-01 16:24

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/500 [^]
(0130098)
hgbot (developer)
2021-07-02 13:42

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/504 [^]
(0130125)
hgbot (developer)
2021-07-05 07:23

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/504 [^]
(0130126)
hgbot (developer)
2021-07-05 07:23

Directly closing issue as related merge request is already approved.

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

Fixed ISSUE-47216: 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
---

- Issue History
Date Modified Username Field Change
2021-06-23 10:08 malsasua New Issue
2021-06-23 10:08 malsasua Assigned To => Retail
2021-06-23 10:08 malsasua Resolution time => 1625004000
2021-06-23 10:08 malsasua Triggers an Emergency Pack => No
2021-06-23 10:12 Practics Issue Monitored: Practics
2021-06-23 10:42 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2021-06-23 11:03 malsasua File Added: issue1.png
2021-06-23 12:27 santi_lozano Priority normal => high
2021-06-25 03:53 hgbot Note Added: 0129786
2021-06-25 08:52 ranjith_qualiantech_com Regression level => Production - Confirmed Stable
2021-06-25 08:52 ranjith_qualiantech_com Regression date => 2020-06-02
2021-06-25 08:52 ranjith_qualiantech_com Regression introduced in release => RR20Q4
2021-06-25 08:52 ranjith_qualiantech_com Regression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/9f2577afb7b65304a5e4ee18bb834ef5b41df494#c7e7b1a1803a89252d22c91692bd17768ca5938e_10794_10706 [^]
2021-06-25 08:55 marvintm Status new => scheduled
2021-06-28 07:20 hgbot Note Added: 0129825
2021-06-28 07:20 hgbot Resolution open => fixed
2021-06-28 07:20 hgbot Status scheduled => closed
2021-06-28 07:20 hgbot Fixed in Version => RR21Q3
2021-06-28 07:20 hgbot Note Added: 0129826
2021-06-29 14:49 santi_lozano Status closed => new
2021-06-29 14:49 santi_lozano File Added: WhatsApp Image 2021-06-29 at 09.35.22.jpeg
2021-06-29 14:52 santi_lozano Note Added: 0129947
2021-06-29 14:53 santi_lozano Resolution time 1625004000 => 1626732000
2021-07-01 16:06 hgbot Note Added: 0130067
2021-07-01 16:24 hgbot Status new => closed
2021-07-01 16:24 hgbot Fixed in Version RR21Q3 => RR21Q4
2021-07-01 16:24 hgbot Note Added: 0130069
2021-07-01 16:24 hgbot Note Added: 0130070
2021-07-02 13:41 marvintm Fixed in Version RR21Q4 => RR21Q3
2021-07-02 13:42 hgbot Note Added: 0130098
2021-07-05 07:23 hgbot Note Added: 0130125
2021-07-05 07:23 hgbot Note Added: 0130126


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker