Is there any equivalent OR_Filter for the set_query js method?
frm.set_query( “item_code”, “items”, function(){
return {
“or_filters”: [
[ “Item”, “is_sales_item”, “=”, “1” ],
[ “Item”, “has_variants”, “=”, “0” ],
[ “Item”, “custom_company”, “=”, frm.doc.company ]
]
}
});