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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0054967
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2024-03-15 11:412024-09-12 08:34
Reportersofia_rodriguezView Statuspublic 
Assigned ToSABARINATH P 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toguillermogil
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0054967: Using Gift Cards as Payment Methods prints Default Template

DescriptionHaving modified the Gift Card Template in the Back Office (different one than Default template), when the user selects Gift Card as a payment method, the ticket printed is the Default template.

In the other uses os the gift card (being buying it and printing it from the menu option "Search gift cards/credit notes/gift certificates"), the correct template is being printed.
Steps To Reproduce1. Open POS and do a ticket assigned to a customer
2. Go to payment screen and select Gift Card as Payment Method
3. Select the customer's gift card to use
4. Finish payment and select to print the receipt
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 005643324Q2.3 closedRajesh_18 Using Gift Cards as Payment Methods prints Default Template 
has duplicate defect 0056421 closedRajesh_18 RM-16711 [SALES] Some informations are incorrect on the remaining balance ticket of the gift card 
related to defect 0054999 closedSABARINATH P The Cash Management always prints the Default Template even if another one is configured in WebPOS formats of organization 

-  Notes
(0162734)
hgbot (developer)
2024-03-28 07:06

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/314 [^]
(0163546)
hgbot (developer)
2024-04-22 18:16

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/314 [^]
(0163547)
hgbot (developer)
2024-04-22 18:16

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: e272772854a8c8e90f285dedea72a834ac8b7011
Author: Sabarinath <sabarinath.palanisamy.ext@openbravo.com>
Date: 22-04-2024 16:15:46
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/e272772854a8c8e90f285dedea72a834ac8b7011 [^]

Fixed ISSUE-54967: Giftcard template used dynamically.

---
M src/org/openbravo/retail/giftcards/FindGiftCardsProperties.java
M web-jspack/org.openbravo.retail.giftcards/src/model/messages/MessagesUtils.js
M web-jspack/org.openbravo.retail.giftcards/src/model/messages/__test__/MessagesUtils.test.js
---
(0163649)
kchoperena (developer)
2024-04-24 11:52

The fix is not working correctly when there is more than one gift card configured with the template. The subquery is raising an error because it is not linked to the gift card id and the query is expecting only one result

Caused by: org.postgresql.util.PSQLException: ERROR: more than one row returned by a subquery used as an expression
    at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2676) ~[postgresql-42.5.0.jar:42.5.0]

You should refactor this part to include the link with the m_product_id of the giftcard
(0163656)
hgbot (developer)
2024-04-24 13:22

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/318 [^]
(0163717)
hgbot (developer)
2024-04-25 08:27

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/318 [^]
(0163718)
hgbot (developer)
2024-04-25 08:27

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: 10caf8304357bed52cd3ab7e27981bd514b3e811
Author: Sabarinath <sabarinath.palanisamy.ext@openbravo.com>
Date: 24-04-2024 16:57:31
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/10caf8304357bed52cd3ab7e27981bd514b3e811 [^]

Fixed ISSUE-54967: Giftcard template used dynamically.

---
M src/org/openbravo/retail/giftcards/FindGiftCardsProperties.java
---

- Issue History
Date Modified Username Field Change
2024-03-15 11:41 sofia_rodriguez New Issue
2024-03-15 11:41 sofia_rodriguez Assigned To => Retail
2024-03-15 11:41 sofia_rodriguez Triggers an Emergency Pack => No
2024-03-18 10:46 guilleaer Status new => acknowledged
2024-03-18 12:53 SABARINATH P Assigned To Retail => SABARINATH P
2024-03-18 14:24 SABARINATH P Status acknowledged => scheduled
2024-03-20 12:24 SABARINATH P Relationship added related to 0054999
2024-03-28 07:06 hgbot Note Added: 0162734
2024-04-22 18:16 hgbot Note Added: 0163546
2024-04-22 18:16 hgbot Resolution open => fixed
2024-04-22 18:16 hgbot Status scheduled => closed
2024-04-22 18:16 hgbot Note Added: 0163547
2024-04-24 11:52 kchoperena Note Added: 0163649
2024-04-24 11:52 kchoperena Status closed => new
2024-04-24 11:52 kchoperena Resolution fixed => open
2024-04-24 13:22 hgbot Note Added: 0163656
2024-04-24 15:06 SABARINATH P Status new => scheduled
2024-04-25 08:27 hgbot Note Added: 0163717
2024-04-25 08:27 hgbot Resolution open => fixed
2024-04-25 08:27 hgbot Status scheduled => closed
2024-04-25 08:27 hgbot Note Added: 0163718
2024-09-12 06:41 guillermogil Relationship added has duplicate 0056421
2024-09-12 08:33 Rajesh_18 Status closed => new
2024-09-12 08:33 Rajesh_18 Resolution fixed => open
2024-09-12 08:33 Rajesh_18 Status new => scheduled
2024-09-12 08:33 Rajesh_18 Status scheduled => resolved
2024-09-12 08:33 Rajesh_18 Resolution open => fixed
2024-09-12 08:34 Rajesh_18 Review Assigned To => guillermogil
2024-09-12 08:34 Rajesh_18 Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker