Openbravo Issue Tracking System - Retail Modules
View Issue Details
0053174Retail ModulesWeb POSpublic2023-08-07 13:552023-08-08 13:07
ranjith_qualiantech_com 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
 
No
0053174: Discounts bypaymentmethod test failed due to events.fiscalization module
Discounts bypaymentmethod selenium test failed due to events.fiscalization module

Test I41181_VerifyReceiptEventChange failing in try-retail
livebuilds pos modules
Backoffice
1) Enable Discount
POS
1) Add Product "Baby carrier"
2) Add Payment (Don't complete ticket)
   Check discount is added to the line
3) Click Total Amount
   Discount is removed in the line (But, it should not)
No tags attached.
caused by feature request 0052730 closed jonae Adding checkout event to fiscalization API 
Issue History
2023-08-07 13:55ranjith_qualiantech_comNew Issue
2023-08-07 13:55ranjith_qualiantech_comAssigned To => ranjith_qualiantech_com
2023-08-07 13:55ranjith_qualiantech_comTriggers an Emergency Pack => No
2023-08-07 13:57ranjith_qualiantech_comRelationship addedcaused by 0052730
2023-08-07 13:57ranjith_qualiantech_comStatusnew => scheduled
2023-08-08 06:50hgbotNote Added: 0153308
2023-08-08 13:07hgbotResolutionopen => fixed
2023-08-08 13:07hgbotStatusscheduled => closed
2023-08-08 13:07hgbotNote Added: 0153328
2023-08-08 13:07hgbotNote Added: 0153329

Notes
(0153308)
hgbot   
2023-08-08 06:50   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.bypaymentmethod/-/merge_requests/11 [^]
(0153328)
hgbot   
2023-08-08 13:07   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.bypaymentmethod [^]
Changeset: 88ebad39aa83e6d31ee1a48c2b33f3d1ce0b3c25
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 07-08-2023 17:29:43
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.bypaymentmethod/-/commit/88ebad39aa83e6d31ee1a48c2b33f3d1ce0b3c25 [^]

Fixed ISSUE-53174: Prepayment hook should be executed atlast for discount calculation
* If StateAction is called in Prepayment hook, then paymentmethod discounts are lost.
  To avoid this, paymentmethod Prepayment hook should be executed atlast

---
M web/org.openbravo.retail.discounts.bypaymentmethod/js/paymentmethod-discount.js
---
(0153329)
hgbot   
2023-08-08 13:07   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.bypaymentmethod/-/merge_requests/11 [^]