Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041430Retail ModulesWeb POSpublic2019-07-23 11:512019-11-20 18:36
aaroncalero 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
RR19Q4 
marvintm
No
0041430: Preference Select Current Receipts on Pay Open Tickets is not working for not paid tickets when prepayments are enabled
When Prepayments are enabled, it is possible to load receipts that are not fully paid using Pay Open Tickets.
When the preference 'Select Current Receipts on Pay Open Tickets' is enabled, tickets/layaways currently loaded in web pos are automatically shown in the Pay Open Tickets selector.
However, this preference is ignoring receipts, even if prepayments are configured
Login in backend, go to the Touchpoint window and find the VBS-1 record.
Navigate to its touchpoint type and configure Prepayments (Allow Prepayments and Partial payments).
Go to the preference window and configure the preference WebPOS Select Current Receipts on Pay Open Tickets with value Y
Login in webpos
Create a new ticket
Add a product
Click on the total amount button to navigate to the Payments tab
Click on Done without adding any payment (approve the action if needed)
Load the ticket again.
Go to the menu > Pay Open tickets.
Verify that the loaded ticket is not shown.

Verify that the ticket appears if you search by its documentNo in the selector.
The isPaid condition evaluated here[1] needs to be taken into account only if prepayments are not configured.

[1]: https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/tip/web/org.openbravo.retail.posterminal/js/components/modal-pay-open-tickets.js#l283 [^]
No tags attached.
patch issue 41430 source posterminal.patch (1,610) 2019-07-23 12:42
https://issues.openbravo.com/file_download.php?file_id=13168&type=bug
Issue History
2019-07-23 11:51aaroncaleroNew Issue
2019-07-23 11:51aaroncaleroAssigned To => Retail
2019-07-23 11:51aaroncaleroResolution time => 1565042400
2019-07-23 11:51aaroncaleroTriggers an Emergency Pack => No
2019-07-23 11:53aaroncaleroDescription Updatedbug_revision_view_page.php?rev_id=19177#r19177
2019-07-23 12:00ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-07-23 12:00ranjith_qualiantech_comStatusnew => scheduled
2019-07-23 12:42ranjith_qualiantech_comFile Added: issue 41430 source posterminal.patch
2019-07-24 07:54hgbotCheckin
2019-07-24 07:54hgbotNote Added: 0113605
2019-07-24 07:54hgbotStatusscheduled => resolved
2019-07-24 07:54hgbotResolutionopen => fixed
2019-07-24 07:54hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/795066a7d4f62006ff90aa6a5fbe81b58fbc8abc [^]
2019-08-02 08:40marvintmReview Assigned To => marvintm
2019-08-02 08:40marvintmStatusresolved => closed
2019-08-02 08:40marvintmFixed in Version => RR19Q4
2019-11-20 18:36hgbotCheckin
2019-11-20 18:36hgbotNote Added: 0115732

Notes
(0113605)
hgbot   
2019-07-24 07:54   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 795066a7d4f62006ff90aa6a5fbe81b58fbc8abc
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Jul 24 11:23:56 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/795066a7d4f62006ff90aa6a5fbe81b58fbc8abc [^]

Fixed issue 41430 : Loaded receipts should be shown in Pay Open Tickets if prepayments is configured

* If prepayments is configured and ticket is partially paid, then receipt should be shown in pay open tickets

---
M web/org.openbravo.retail.posterminal/js/components/modal-pay-open-tickets.js
---
(0115732)
hgbot   
2019-11-20 18:36   
Repository: tools/automation/pi-mobile
Changeset: 53985c2d5318ecf23d65c8cb5971b5e187503244
Author: Fidel <fidel.campos <at> doceleguas.com>
Date: Mon Nov 18 11:35:51 2019 -0500
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/53985c2d5318ecf23d65c8cb5971b5e187503244 [^]

Related to issue 41430: Added automated test I41430_VerifyTicketToBePaidWithPreferenceSelectCurrentReceiptsPayOpenTickets

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sales/I41430_VerifyTicketToBePaidWithPreferenceSelectCurrentReceiptsPayOpenTickets.java
---