Openbravo Issue Tracking System - Retail Modules
View Issue Details
0043858Retail ModulesWeb POSpublic2020-04-24 12:062020-05-18 08:35
ngarcia 
prakashmurugesan88 
urgentmajoralways
closedfixed 
5
 
RR20Q3 
marvintm
No
0043858: [Cross-store] Cannot Open Receipt or Verified Return in a different store if the anonymous customer doesn't have contact defined
[Cross-store] Cannot Open Receipt or Verified Return in a different store if the anonymous customer doesn't have a contact defined

The way the business partners and the customers (LoadedCustomer.java) are loaded is different
In the backoffice:
   Create a new business partner in Orhi Store
   Do not assign a contact to it
   In Organization window, set it as the Anonymous customer for Orhi store

In a POS of Orhi store:
   Do a receipt

In a POS of Vall Boi store:
   Open Receipt
   Advanced filters
   Change to Orhi store
   Select the previously created receipt
   You will get a pop-up with the following message:
      "The paid receipt can not be loaded because customer is not valid for this terminal"

In the backoffice:
   Add a contact to the previously created business partner

Now you will be able to open the receipt
No tags attached.
related to defect 0041927 closed ranjith_qualiantech_com Data inconsistency is provoked when multiprice list is used in WEBPOS [ Quotations and Verified Returns ] 
has duplicate defect 0042111 closed francisco Error with verified returns With cross store 
Issue History
2020-04-24 12:06ngarciaNew Issue
2020-04-24 12:06ngarciaAssigned To => Retail
2020-04-24 12:06ngarciaResolution time => 1590098400
2020-04-24 12:06ngarciaTriggers an Emergency Pack => No
2020-04-24 12:07ngarciaRelationship addedduplicate of 0042111
2020-04-24 12:08ngarciaRelationship addedrelated to 0041927
2020-04-24 12:08ngarciaRelationship deleted0042111
2020-04-24 12:08ngarciaRelationship addedhas duplicate 0042111
2020-04-24 12:08ngarciaIssue Monitored: networkb
2020-05-08 09:50prakashmurugesan88Assigned ToRetail => prakashmurugesan88
2020-05-08 09:50prakashmurugesan88Statusnew => scheduled
2020-05-18 06:59hgbotCheckin
2020-05-18 06:59hgbotNote Added: 0119955
2020-05-18 06:59hgbotStatusscheduled => resolved
2020-05-18 06:59hgbotResolutionopen => fixed
2020-05-18 06:59hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/31fbcdaae73c6dee59c314061f398ade29160bc5 [^]
2020-05-18 06:59hgbotCheckin
2020-05-18 06:59hgbotNote Added: 0119956
2020-05-18 08:35marvintmReview Assigned To => marvintm
2020-05-18 08:35marvintmStatusresolved => closed
2020-05-18 08:35marvintmFixed in Version => RR20Q3

Notes
(0119955)
hgbot   
2020-05-18 06:59   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 31fbcdaae73c6dee59c314061f398ade29160bc5
Author: Prakash M <prakash <at> qualiantech.com>
Date: Mon May 18 10:26:14 2020 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/31fbcdaae73c6dee59c314061f398ade29160bc5 [^]

Fixed BUG-43858: Cannot Open Receipt in a different store if the anonymous
customer doesn't have contact defined

* In LoadedCustomer - bpartnerHQLQuery there is left join for user table.
* But in where clause it is validated for user exists in user table.
* As it left outer join user table reference can null

* Included an or condition for user table reference can be null

---
M src/org/openbravo/retail/posterminal/master/LoadedCustomer.java
---
(0119956)
hgbot   
2020-05-18 06:59   
Repository: tools/automation/pi-mobile
Changeset: b0b76d1688c4a39fe5eb14cdbbb9261f1f2b7cf2
Author: Prakash M <prakash <at> qualiantech.com>
Date: Mon May 18 10:24:14 2020 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/b0b76d1688c4a39fe5eb14cdbbb9261f1f2b7cf2 [^]

Related to BUG 43858: Verifies open Receipt in a different store if the anonymous
customer doesn't have contact defined

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/crossstore/CrossStoreTerminalHelper.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/crossstore/I43858_CrossStoreAnonymCustomerWithoutContact.java
---