Openbravo Issue Tracking System - POS2
View Issue Details
0049445POS2POSpublic2022-05-31 13:112022-06-01 23:42
guilleaer 
ebecerra 
normalmajorhave not tried
closedno change required 
5
 
 
No
0049445: Business Partner Object attached to the ticket should be different to anonym bp of the terminal
Business Partner Object attached to the ticket should be different to anonym bp of the terminal.

If the BP object of the ticket is changed the BP object of the terminal shouldn't be affected at all.
Login in web POS
Open developer tools
write this expression:
"OB.App.TerminalProperty.get('businessPartner') === OB.App.State.getState().Ticket.businessPartner"

The result is true and it shouldn't
Reference to BP on the ticket should be a copy of the Terminal Bp but independent. Doing that the BP of the ticket can be changed
No tags attached.
Issue History
2022-05-31 13:11guilleaerNew Issue
2022-05-31 13:11guilleaerAssigned To => ebecerra
2022-05-31 13:11guilleaerTriggers an Emergency Pack => No
2022-05-31 13:48ebecerraStatusnew => scheduled
2022-06-01 09:20hgbotNote Added: 0137913
2022-06-01 23:41hgbotNote Added: 0137955
2022-06-01 23:42guilleaerNote Added: 0137956
2022-06-01 23:42guilleaerStatusscheduled => closed
2022-06-01 23:42guilleaerResolutionopen => no change required

Notes
(0137913)
hgbot   
2022-06-01 09:20   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/980 [^]
(0137955)
hgbot   
2022-06-01 23:41   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/980 [^]
(0137956)
guilleaer   
2022-06-01 23:42   
After discuss code is fine. Spread operatos should be always used