Notes |
|
(0094951)
|
hgbot
|
2017-03-10 21:07
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 6ddcd46e6252c64662c1de35dc3c508a9f975514
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Tue Mar 07 10:20:36 2017 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6ddcd46e6252c64662c1de35dc3c508a9f975514 [^]
Fixed issue 0035279: The reimbursement in cancel and replace an order is positive and not negative in web POS
- Added validation for order CancelAndReplace and check is the paid is negatives
---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
|
|
|
(0094955)
|
hgbot
|
2017-03-10 22:55
|
|
Repository: tools/automation/pi-mobile
Changeset: dcd29635972689efbb7a052799f820812c5d50aa
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Wed Feb 22 11:42:28 2017 -0600
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/dcd29635972689efbb7a052799f820812c5d50aa [^]
Verifies issue 35279: Added automated test I35279_CancelAndRplcLayaway
---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cancelandreplace/I35279_CancelAndRplcLayaway.java
---
|
|
|
|
There should not be references to the receipt global object, either the receipt should be passed as a parameter, or the information should be in the payment itself. |
|
|
(0095308)
|
hgbot
|
2017-03-16 01:49
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 51d62aca33cc4e07e7dec41b995a189518b10f4e
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Tue Mar 14 11:04:39 2017 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/51d62aca33cc4e07e7dec41b995a189518b10f4e [^]
Fixed issue 0035279: The reimbursement in cancel and replace an order is positive and not negative in web POS
- Create two new properties in payment object for cancel an replace order type
- Refactor the validation in printAmountWithSignum function based in the new properties
---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
|
|
|
|
There is a case which is still failing here:
- Create a layaway
- Add two Avalanche Transceivers
- Add a partial payment of 200
- Send the layaway to the backend.
- Load it back
- Cancel and replace
- Remove one Avalanche Transceiver
- Go to the payment tab. It shows that 49.5€ need to be returned. This is correct.
- Add 49.5€ payment. They are shown as negative. This is correct.
- Add another Avalanche Transceiver. Go back to payment tab. Payment of 49.5€ is still shown as negative payment, but now it's actually positive internally. This is not correct, it should be shown as positive in this case.
The root cause of the problem is that to fix this issue properly, the property "paidInNegativeStatusAmt" of the receipt is the one which should be used. As this property may change due to the receipt itself being changed, we need to have a reference to the receipt object when using the printAmountWithSignum function. |
|
|
(0095348)
|
hgbot
|
2017-03-17 00:33
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: be130a0fd6b94c69a3b4e7f1c8fffbc5cccfedc3
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Thu Mar 16 13:45:26 2017 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/be130a0fd6b94c69a3b4e7f1c8fffbc5cccfedc3 [^]
Fixed issue 0035279: The reimbursement in cancel and replace an order is positive and not negative in web POS
- Refactor the validation in printAmountWithSignum function based in paidInNegativeStatusAmt property for cancel and replace order
---
M web/org.openbravo.retail.posterminal/js/components/renderorderline.js
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---
|
|
|
(0095424)
|
hgbot
|
2017-03-20 15:10
|
|
Repository: tools/automation/pi-mobile
Changeset: 6f1e3ad46e8951712e67a8063c37a76bf7c4d044
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Fri Mar 17 14:19:44 2017 -0600
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/6f1e3ad46e8951712e67a8063c37a76bf7c4d044 [^]
Verifies issue 35279: Added new automated test I35279_CancelAndRplcLayawayII
---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cancelandreplace/I35279_CancelAndRplcLayawayII.java
---
|
|