Openbravo Issue Tracking System - Retail Modules
View Issue Details
0048985Retail ModulesWeb POSpublic2022-04-06 13:092023-04-03 15:01
nicolasuriz 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
5
RR20Q3.4 
RR23Q3 
No
0048985: When having an independent service as Return line (-) and a product where we have to do a calculation we have an error
When having an independent service as Return line (-) and a product where we have to do a calculation we have an error.

This error says you that you have no paid the product amount, it seems that the validation does not take into account the independent service amount.
1. Login to WebPOS
2. Add a product higher price than the independent service
3. Add an independent service to the ticket.
4. Click on the service line and click on "Return line"
5. Click on total amount button
6. An error message is displayed.

Check this video in case of doubts:
https://watch.screencastify.com/v/12t08JWWFYCrn88BVvhD [^]
No tags attached.
related to defect 0051797RR20Q3.4 closed ranjith_qualiantech_com Wrong Pick&Carry PaidAmount validation. 
diff 48985_20q3_posterminal.diff (4,622) 2022-04-07 12:11
https://issues.openbravo.com/file_download.php?file_id=16863&type=bug
Issue History
2022-04-06 13:09nicolasurizNew Issue
2022-04-06 13:09nicolasurizAssigned To => Retail
2022-04-06 13:09nicolasurizTriggers an Emergency Pack => No
2022-04-07 12:11ranjith_qualiantech_comFile Added: 48985_20q3_posterminal.diff
2022-05-04 14:58rqueraltaAssigned ToRetail => rqueralta
2022-05-04 14:59rqueraltaStatusnew => scheduled
2022-06-13 07:13marvintmAssigned Torqueralta => Retail
2022-09-09 08:20ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2022-10-07 09:01marvintmTypedefect => design defect
2022-10-14 07:12hgbotNote Added: 0142049
2023-03-16 11:17ranjith_qualiantech_comRelationship addedrelated to 0051797
2023-04-03 15:01hgbotResolutionopen => fixed
2023-04-03 15:01hgbotStatusscheduled => closed
2023-04-03 15:01hgbotNote Added: 0148200
2023-04-03 15:01hgbotFixed in Version => RR23Q3
2023-04-03 15:01hgbotNote Added: 0148201

Notes
(0142049)
hgbot   
2022-10-14 07:12   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/957 [^]
(0148200)
hgbot   
2023-04-03 15:01   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/957 [^]
(0148201)
hgbot   
2023-04-03 15:01   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: b0df1e95ee6097698dbf75fc75c06f93c12d94ee
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 03-04-2023 17:27:26
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/b0df1e95ee6097698dbf75fc75c06f93c12d94ee [^]

Fixed ISSUE-48985: Added PickandCarry Amount validation when completing the ticket
* When completing the ticket, pick&carry amount should be equal or more than paid amount
  * Same condition applies for pay open tickets

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.retail.posterminal/js/actionpreparation/CompleteTicketCheck.js
M web/org.openbravo.retail.posterminal/js/utils/deliveryModeUtils.js
---