Hide duplicate button in sales order


Is it possible that the Duplicate button in Sales Order will be hidden or the user will have no access to duplicate?

Thank you

Hi @ossphinc,

That for, please apply the client scrip for Sales Order.

frappe.ui.form.on('Sales Order', {
    refresh: function(frm) {

Then reload (Ctrl+Shift+R) and check it.

Thank You!

1 Like