Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035643Retail ModulesWeb POSpublic2017-03-29 16:482017-05-08 12:49
asiermartirena 
asiermartirena 
urgentmajoralways
closedfixed 
5
 
RR17Q3 
marvintm
No
0035643: Payment and Refund provider is not always called correctly
There are some situations in which the payment or refund provider is not correctly called.

Initially, when a ticket is negative, the introduced payments calls refund provider and the positive tickets calls the payment provider. But there are some situations in which there is a positive/negative ticket and the needed payments must have the opposite sign.

Those situations are: 'Void Layaway', 'Cancel Layaway' and 'Cancel and Replace' with quantity to return.
Create one of the superior situations and introduce a Card payment. Check which provider is called
No tags attached.
depends on defect 0035642 closed asiermartirena In CL there are problems when canceling tickets with delivered units 
Issue History
2017-03-29 16:48asiermartirenaNew Issue
2017-03-29 16:48asiermartirenaAssigned To => asiermartirena
2017-03-29 16:48asiermartirenaTriggers an Emergency Pack => No
2017-03-29 16:49asiermartirenaRelationship addeddepends on 0035642
2017-04-07 09:33hgbotCheckin
2017-04-07 09:33hgbotNote Added: 0095891
2017-04-07 09:33hgbotStatusnew => resolved
2017-04-07 09:33hgbotResolutionopen => fixed
2017-04-07 09:33hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7f096a97b641955f38646fa960bced05585625ad [^]
2017-05-05 10:53dmitry_mezentsevReview Assigned To => marvintm
2017-05-08 12:49marvintmStatusresolved => closed
2017-05-08 12:49marvintmFixed in Version => RR17Q3

Notes
(0095891)
hgbot   
2017-04-07 09:33   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 7f096a97b641955f38646fa960bced05585625ad
Author: Asier Martirena <asier.martirena <at> openbravo.com>
Date: Fri Apr 07 09:32:42 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7f096a97b641955f38646fa960bced05585625ad [^]

Fixed issue 35643: Payment and Refund provider is not always called correctly

There are negative tickets with positive gross, and positive tickets with negative gross.

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/keyboard-toolbars.js
---