The below code is not workig, I want to use ¦¦ operator but there is some issue in that
frappe.ui.form.on(“Stock Entry”, “validate”, function(frm) {
if(user=="abc.xyz@bbc.com" ¦¦ user=="ppc.xyz@bbc.com")
{
if(frm.doc.workflow_state==“Submit”)
{
msgprint(“You are not allowed to Submit this document.”);
throw “Not allowed”;
}
}