Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034748Retail ModulesWeb POSpublic2016-12-15 17:262016-12-20 18:40
paul_guiot 
mario_castello 
highmajoralways
closedfixed 
5
 
RR17Q1 
marvintm
No
0034748: [2165] Freezing screen for an inactive customer
If we try to perform a return for an inactive customer, we are locked.
Use the following environment:
https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.retail.posterminal/?terminal=VBS-1#retail.pointofsale [^]

Go to the webpos:
-In the menu, click on "verified return" and check the ticket with his customer assigned.
- Close the window;
- Open the BO (https://livebuilds.openbravo.com/retail_pi_pgsql [^])
- In the screen Business partner, go to the customer seen
- Click on it and unflag the field "Active" - Save
- Go back to the webpos (clean the cache before)
- In the menu, click on "verified return" and select the ticket with the customer modified
- Try to perform the return
A verified return should be possible for an inactive customer
No tags attached.
? 2166.mp4 (708,675) 2016-12-15 17:26
https://issues.openbravo.com/file_download.php?file_id=10177&type=bug
Issue History
2016-12-15 17:26paul_guiotNew Issue
2016-12-15 17:26paul_guiotAssigned To => Retail
2016-12-15 17:26paul_guiotFile Added: 2166.mp4
2016-12-15 17:26paul_guiotResolution time => 1482015600
2016-12-15 17:26paul_guiotTriggers an Emergency Pack => No
2016-12-16 12:21xabiermerinoResolution time1482015600 => 1483052400
2016-12-16 15:20mario_castelloAssigned ToRetail => mario_castello
2016-12-16 15:20mario_castelloStatusnew => acknowledged
2016-12-16 15:20mario_castelloStatusacknowledged => scheduled
2016-12-19 14:43hgbotCheckin
2016-12-19 14:43hgbotNote Added: 0092781
2016-12-19 14:43hgbotStatusscheduled => resolved
2016-12-19 14:43hgbotResolutionopen => fixed
2016-12-19 14:43hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ebb079ab4d54f211443d2c5b0554cf8b1c0c9db2 [^]
2016-12-19 14:49hgbotCheckin
2016-12-19 14:49hgbotNote Added: 0092782
2016-12-20 18:40marvintmReview Assigned To => marvintm
2016-12-20 18:40marvintmStatusresolved => closed
2016-12-20 18:40marvintmFixed in Version => RR17Q1

Notes
(0092781)
hgbot   
2016-12-19 14:43   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: ebb079ab4d54f211443d2c5b0554cf8b1c0c9db2
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Fri Dec 16 10:20:21 2016 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ebb079ab4d54f211443d2c5b0554cf8b1c0c9db2 [^]

Fixed issue 0034748: [2165] Freezing screen for an inactive customer

- This problems happens because we are working with a remote customer active
- If the customer are deactivated the function OB.Dal.get returns an empty result when try to load the BPLocation
- Implemented the empty callback function for the OB.Dal.get and execute a call to the LoadedCustomer class
- Process the result an continue or show a message with the information

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0092782)
hgbot   
2016-12-19 14:49   
Repository: tools/automation/pi-mobile
Changeset: 970abf803b0577bd3a7016f6c32b5a9e18c8c6ef
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Fri Dec 16 16:17:20 2016 -0600
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/970abf803b0577bd3a7016f6c32b5a9e18c8c6ef [^]

Verifies issue 34748: Added automated test

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/returns/I34748_ReturnsAndRemoteCustomerWithDeactivatedBP.java
---