Openbravo Issue Tracking System - Retail Modules
View Issue Details
0046164Retail ModulesWeb POSpublic2021-03-26 13:202021-03-30 07:01
aferraz 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
RR21Q2 
marvintm
Production - QA Approved
2020-08-19
RR20Q4
https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/71efaa9006c7f480c7601ce1a9e1d79dfc3b0a66 [^]
No
0046164: Not possible to return a product with discount if price doesn't include taxes
Not possible to return a product with discount if price doesn't include taxes
- Using PS-1 terminal.
- Create a ticket with three units of Bottle 1L and complete it. Realize 3x2 discount was applied.
- Try to return previous ticket using Verified Return. Check you get following error: TypeError: Cannot read property 'scale' of undefined
No tags attached.
depends on backport 0046173RR21Q1.1 closed ranjith_qualiantech_com Not possible to return a product with discount if price doesn't include taxes 
depends on backport 0046174RR20Q4.3 closed ranjith_qualiantech_com Not possible to return a product with discount if price doesn't include taxes 
Issue History
2021-03-26 13:20aferrazNew Issue
2021-03-26 13:20aferrazAssigned To => Retail
2021-03-26 13:20aferrazTriggers an Emergency Pack => No
2021-03-26 13:24aferrazRegression level => Production - QA Approved
2021-03-26 13:24aferrazRegression introduced in release => RR20Q4
2021-03-26 13:29aferrazNote Added: 0126947
2021-03-26 13:32aferrazNote Edited: 0126947bug_revision_view_page.php?bugnote_id=0126947#r22265
2021-03-29 15:14ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2021-03-29 19:34ranjith_qualiantech_comRegression date => 2020-08-19
2021-03-29 19:34ranjith_qualiantech_comRegression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/71efaa9006c7f480c7601ce1a9e1d79dfc3b0a66 [^]
2021-03-30 04:25hgbotNote Added: 0127009
2021-03-30 07:00hgbotResolutionopen => fixed
2021-03-30 07:00hgbotStatusnew => closed
2021-03-30 07:00hgbotNote Added: 0127012
2021-03-30 07:00hgbotFixed in Version => RR21Q2
2021-03-30 07:00hgbotNote Added: 0127013
2021-03-30 07:00marvintmStatusclosed => new
2021-03-30 07:00marvintmResolutionfixed => open
2021-03-30 07:00marvintmFixed in VersionRR21Q2 =>
2021-03-30 07:00marvintmStatusnew => scheduled
2021-03-30 07:00marvintmStatusscheduled => resolved
2021-03-30 07:00marvintmFixed in Version => RR21Q2
2021-03-30 07:00marvintmResolutionopen => fixed
2021-03-30 07:01marvintmReview Assigned To => marvintm
2021-03-30 07:01marvintmStatusresolved => closed

Notes
(0126947)
aferraz   
2021-03-26 13:29   
(edited on: 2021-03-26 13:32)
Fix should be tested also with new Verified Return state action: 0046165

(0127009)
hgbot   
2021-03-30 04:25   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/359 [^]
(0127012)
hgbot   
2021-03-30 07:00   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/359 [^]
(0127013)
hgbot   
2021-03-30 07:00   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: fd77faea1d67495aefcfe2ef7ea2c83d2f78b948
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-03-30T07:46:30+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/fd77faea1d67495aefcfe2ef7ea2c83d2f78b948 [^]

Fixed ISSUE-46164: Line NetUnitPrice should be updated with BaseNetUnitPrice
* When loading paid receipt, line netUnitPrice should be updated with baseNetUnitPrice

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/TicketUtils.js
---