Merge pull request #37562 from GursheenK/subscription-tax-filters

fix(minor): filter tax template based on company in subscription
This commit is contained in:
Deepesh Garg
2023-10-18 17:49:09 +05:30
committed by GitHub

View File

@@ -18,6 +18,14 @@ frappe.ui.form.on('Subscription', {
}
};
});
frm.set_query('sales_tax_template', function () {
return {
filters: {
company: frm.doc.company
}
};
});
},
refresh: function (frm) {