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
commit 6750af90f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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