Openbravo Issue Tracking System - Retail Modules
View Issue Details
0043722Retail ModulesWeb POSpublic2020-04-13 18:022020-04-24 14:16
AugustoMauch 
prakashmurugesan88 
normalminorhave not tried
closedfixed 
5
 
RR20Q3 
marvintm
No
0043722: Loyalty Info is shown duplicated when having several tickets open at the same time in webpos
If a ticket with a loyalty customer is kept in the background while paying other tickets, when the background ticket is resumed by the webpos the customer loyalty info will be shown duplicated
Reproduced in livebuilds (modules) [1]

Open the ERP:
- Open the Loyalty Program window
- Create a new Loyalty Program: searchKey = test, name = test, start date = yesterday)
- Create a new entry in the Category subtab: name = test
- Create a new entry in the Statuses subtab: name = test, default = true
- Create a new entry in the subscription subtab: category = test, business partner = Arturo Montoro, member ID = 123123, status = test, total available points = 0

Open the webpos
- Select a new Customer: Arturo Montoro. Check that the loyalty info (program name and total points is shown below the customer name)
- Create a new ticket, keep the other one in the background. Select Arturo Montor, pick a product, pay and complete the ticket.
- When the webpos shows the ticket in the background, the loyalty info will be duplicated (see attached image)




[1] https://livebuilds.openbravo.com/retail_modules_pgsql_pi [^]
NOR
has duplicate defect 0044300 closed Retail modify a client with susbscription, this add me a new subscription 
png duplicatedLoyalty.png (26,576) 2020-04-13 18:03
https://issues.openbravo.com/file_download.php?file_id=14300&type=bug
png
Issue History
2020-04-13 18:02AugustoMauchNew Issue
2020-04-13 18:02AugustoMauchAssigned To => Retail
2020-04-13 18:02AugustoMauchTriggers an Emergency Pack => No
2020-04-13 18:03AugustoMauchFile Added: duplicatedLoyalty.png
2020-04-13 18:04AugustoMauchResolution time => 1587938400
2020-04-13 18:04AugustoMauchDescription Updatedbug_revision_view_page.php?rev_id=20746#r20746
2020-04-14 06:05rafarodaIssue Monitored: rafaroda
2020-04-14 06:05rafarodaTag Attached: NOR
2020-04-17 10:27prakashmurugesan88Assigned ToRetail => prakashmurugesan88
2020-04-17 10:28prakashmurugesan88Statusnew => scheduled
2020-04-18 07:48hgbotCheckin
2020-04-18 07:48hgbotNote Added: 0119246
2020-04-18 07:48hgbotStatusscheduled => resolved
2020-04-18 07:48hgbotResolutionopen => fixed
2020-04-18 07:48hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.loyalty.programs/rev/8106465681e1f1a4d0f339f4f07a2d6da0dc3210 [^]
2020-04-24 14:16marvintmReview Assigned To => marvintm
2020-04-24 14:16marvintmStatusresolved => closed
2020-04-24 14:16marvintmFixed in Version => RR20Q3
2020-06-19 08:51marvintmRelationship addedhas duplicate 0044300

Notes
(0119246)
hgbot   
2020-04-18 07:48   
Repository: erp/pmods/org.openbravo.retail.loyalty.programs
Changeset: 8106465681e1f1a4d0f339f4f07a2d6da0dc3210
Author: Prakash M <prakash <at> qualiantech.com>
Date: Sat Apr 18 11:17:12 2020 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.loyalty.programs/rev/8106465681e1f1a4d0f339f4f07a2d6da0dc3210 [^]

Fixed BUG-43722: Fixes duplicate Loyalty Info when several tickets open at the
same time in webpos

---
M web/org.openbravo.retail.loyalty.programs/js/component/bp-programs-and-points.js
---