fix: filter tax template based on company

This commit is contained in:
Gursheen Anand 2023-10-18 11:42:19 +05:30
parent 08aec7f6d7
commit 1a2f659de2

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) {