Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047405Retail ModulesWeb POSpublic2021-07-16 16:532021-07-22 18:41
collazoandy4 
rqueralta 
normalminoralways
closedfixed 
5
 
RR21Q4 
No
0047405: New customers created from receipt property is not assigned to the ticket
After a new customer is created and the previous popup is the receipt properties popup this customer can be assigned directly to the ticket because the OBPOS_preChangeBusinessPartner hook doesn't take into account the parent target (filterSelectorButton_receiptProperties) send from assigncustomertoticket button
Log in YS-11 Pos Terminal
Open receipt properties popup
Open customer propup and create a new record
Save the customer created
Click on Assign to receipt button and check the customer is not added to the receipt
Add a new if clasue in OBPOS_preChangeBusinessPartner hook to check if the event target is filterSelectorButton_receiptProperties to properly add the customer to the ticket
No tags attached.
Issue History
2021-07-16 16:53collazoandy4New Issue
2021-07-16 16:53collazoandy4Assigned To => Retail
2021-07-16 16:53collazoandy4Resolution time => 1627596000
2021-07-16 16:53collazoandy4Triggers an Emergency Pack => No
2021-07-19 22:49rqueraltaAssigned ToRetail => rqueralta
2021-07-19 22:50rqueraltaStatusnew => scheduled
2021-07-22 17:00hgbotNote Added: 0130702
2021-07-22 18:41hgbotResolutionopen => fixed
2021-07-22 18:41hgbotStatusscheduled => closed
2021-07-22 18:41hgbotNote Added: 0130704
2021-07-22 18:41hgbotFixed in Version => RR21Q4
2021-07-22 18:41hgbotNote Added: 0130705

Notes
(0130702)
hgbot   
2021-07-22 17:00   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/522 [^]
(0130704)
hgbot   
2021-07-22 18:41   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/522 [^]
(0130705)
hgbot   
2021-07-22 18:41   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: a680a844fd10cf8286451ea4d6a0a0ee0e17c257
Author: Rafael Queralta <rafaelcuba81@gmail.com>
Date: 2021-07-21T14:21:19-04:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/a680a844fd10cf8286451ea4d6a0a0ee0e17c257 [^]

Fixed BUG-47405: Added a new if clause in OBPOS_preChangeBusinessPartner hook to check if the event target is filterSelectorButton_receiptProperties to properly add the customer to the ticket

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/pointofsale.js
---