Openbravo Issue Tracking System - POS2
View Issue Details
0050450POS2POSpublic2022-10-07 11:472022-10-07 12:53
bcolorado 
Retail 
normalminorhave not tried
closedfixed 
5
 
23Q1 
No
0050450: Securize action print draft ticket
1 - Go to user action and set : OBPOS2_DeliverDraftTicket
3 - Go to windows role and user actions tab, disable the action OBPOS2_DeliverDraftTicket for the selected role.
2 - Check if print button are disable when ticket is draft

https://openbravo.atlassian.net/browse/RM-2892 [^]
1 - Go to user action and set : OBPOS2_DeliverDraftTicket
3 - Go to windows role and user actions tab, disable the action OBPOS2_DeliverDraftTicket for the selected role.
2 - Check if print button are disable when ticket is draft
No tags attached.
png af.png (118,393) 2022-10-07 11:47
https://issues.openbravo.com/file_download.php?file_id=17593&type=bug
png
Issue History
2022-10-07 11:47bcoloradoNew Issue
2022-10-07 11:47bcoloradoAssigned To => Retail
2022-10-07 11:47bcoloradoFile Added: af.png
2022-10-07 11:47bcoloradoTriggers an Emergency Pack => No
2022-10-07 12:04hgbotNote Added: 0141851
2022-10-07 12:46hgbotResolutionopen => fixed
2022-10-07 12:46hgbotStatusnew => closed
2022-10-07 12:46hgbotNote Added: 0141855
2022-10-07 12:46hgbotFixed in Version => 23Q1
2022-10-07 12:46hgbotNote Added: 0141856
2022-10-07 12:53aferrazNote Added: 0141857
2022-10-07 12:53aferrazDescription Updatedbug_revision_view_page.php?rev_id=24850#r24850

Notes
(0141851)
hgbot   
2022-10-07 12:04   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1262 [^]
(0141855)
hgbot   
2022-10-07 12:46   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1262 [^]
(0141856)
hgbot   
2022-10-07 12:46   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 051f4f6e2f7a7ad451f999d175d9585ba0c21c79
Author: Basilio Colorado <basilio.colorado@precognis.com>
Date: 07-10-2022 10:46:35
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/051f4f6e2f7a7ad451f999d175d9585ba0c21c79 [^]

Fixes ISSUE-50450: Securize action print draft ticket

---
M src-db/database/sourcedata/OBC2_USER_ACTION.xml
---
(0141857)
aferraz   
2022-10-07 12:53   
OBPOS2_DeliverDraftTicket user action has been securized.

This is the user action run from Print/Email button when the ticket is in draft (not yet completed).

You can add or remove access to this user action to the needed roles.

Thus, if the role doesn’t have access to the user action, the Print/Email button will be disabled when the ticket is in draft.