Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0054967 | POS2 | POS | public | 2024-03-15 11:41 | 2024-09-12 08:34 |
|
Reporter | sofia_rodriguez | |
Assigned To | SABARINATH P | |
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | guillermogil |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0054967: Using Gift Cards as Payment Methods prints Default Template |
Description | Having 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 Reproduce | 1. 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 |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | backport | 0056433 | 24Q2.3 | closed | Rajesh_18 | Using Gift Cards as Payment Methods prints Default Template | has duplicate | defect | 0056421 | | closed | Rajesh_18 | RM-16711 [SALES] Some informations are incorrect on the remaining balance ticket of the gift card | related to | defect | 0054999 | | closed | SABARINATH P | The Cash Management always prints the Default Template even if another one is configured in WebPOS formats of organization |
|
Attached Files | |
|
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 |
Notes |
|
(0162734)
|
hgbot
|
2024-03-28 07:06
|
|
|
|
(0163546)
|
hgbot
|
2024-04-22 18:16
|
|
|
|
(0163547)
|
hgbot
|
2024-04-22 18:16
|
|
|
|
|
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
|
2024-04-24 13:22
|
|
|
|
(0163717)
|
hgbot
|
2024-04-25 08:27
|
|
|
|
(0163718)
|
hgbot
|
2024-04-25 08:27
|
|
|