How to hide duplicate from any doctype

@Ashraf_El_Sharqawy remove the Copy permissions for all roles in that DocType using the Role Permission Manager

4 Likes

@max_morais_dmm

Thank you very much

I’m not aware of such an option in the current version? I do however know you can select the ‘Hide Copy’ option via Customize Form. This hides the Duplicate function for all users though

Cheers

1 Like

@wale any idea if that hide copy property can be modified using client side scripting? Found the object cur_frm.meta.allow_copy but toggling it doesn’t hide the “Duplicate” option in the menu.