Openbravo Issue Tracking System - POS2
View Issue Details
0053217POS2POSpublic2023-08-16 10:562023-08-24 11:26
prakashmurugesan88 
prakashmurugesan88 
normalmajorhave not tried
closedfixed 
5
 
23Q4 
No
0053217: Able to bypass the obligation of putting a Sales representative on a ticket
It is allowed to remove Sales Representative on a ticket even though it is configured as Sales Rep Mandatory.
But it should not allow.
In BO, Touchpoint Type window, sales representative is mandatory

However, in POS, even if the X is not displayed to delete the sales representative (header or line level), we can click on the button with the mouse: this is KO

And then, the sales representative is empty
No tags attached.
Issue History
2023-08-16 10:56prakashmurugesan88New Issue
2023-08-16 10:56prakashmurugesan88Assigned To => prakashmurugesan88
2023-08-16 10:56prakashmurugesan88Triggers an Emergency Pack => No
2023-08-16 10:56prakashmurugesan88Statusnew => scheduled
2023-08-16 11:54hgbotNote Added: 0153530
2023-08-16 11:55hgbotNote Added: 0153531
2023-08-24 11:26hgbotNote Added: 0153909
2023-08-24 11:26hgbotNote Added: 0153910
2023-08-24 11:26hgbotNote Added: 0153911
2023-08-24 11:26hgbotResolutionopen => fixed
2023-08-24 11:26hgbotStatusscheduled => closed
2023-08-24 11:26hgbotFixed in Version => 23Q4
2023-08-24 11:26hgbotNote Added: 0153912

Notes
(0153530)
hgbot   
2023-08-16 11:54   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1196 [^]
(0153531)
hgbot   
2023-08-16 11:55   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2016 [^]
(0153909)
hgbot   
2023-08-24 11:26   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: f72238a6b190c0fa566a4018db0642040b08aa97
Author: Prakash M <prakash@qualiantech.com>
Date: 24-08-2023 09:23:55
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/f72238a6b190c0fa566a4018db0642040b08aa97 [^]

Related to ISSUE-53217: Added class name for clear icon in BaseFormSelector
* Therefore the icon can be hidden using this class

---
M web-jspack/org.openbravo.core2/src/components/BaseFormSelector/ClearSelectorButton.jsx
---
(0153910)
hgbot   
2023-08-24 11:26   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1196 [^]
(0153911)
hgbot   
2023-08-24 11:26   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2016 [^]
(0153912)
hgbot   
2023-08-24 11:26   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 97705cfebf4e394efa8a3187c019d9fb8b1c7cb5
Author: Prakash M <prakash@qualiantech.com>
Date: 24-08-2023 09:23:48
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/97705cfebf4e394efa8a3187c019d9fb8b1c7cb5 [^]

Fixes ISSUE-53217: Fixes issue able to remove sales representative in a ticket though it is mandatory
* Set display none property to the clear button

---
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLinePopover/TicketLineSalesRepSelectorField/TicketLineSalesRepSelectorField.scss
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketPropertiesPopover/TicketSalesRepSelectorField/TicketSalesRepSelectorField.scss
---