commit | 1a2f659de2a06bea513ced0a5b8ff007ebec6437 | [log] [tgz] |
---|---|---|
author | Gursheen Anand <gursheen@frappe.io> | Wed Oct 18 11:42:19 2023 +0530 |
committer | Gursheen Anand <gursheen@frappe.io> | Wed Oct 18 11:42:19 2023 +0530 |
tree | 7c23201f9f6437b0d51ae7acdbc845153df3bf6c | |
parent | 08aec7f6d7148f24dabf0e2416400100853bb2fa [diff] |
fix: filter tax template based on company
diff --git a/erpnext/accounts/doctype/subscription/subscription.js b/erpnext/accounts/doctype/subscription/subscription.js index ae789b5..92f8a3a 100644 --- a/erpnext/accounts/doctype/subscription/subscription.js +++ b/erpnext/accounts/doctype/subscription/subscription.js
@@ -18,6 +18,14 @@ } }; }); + + frm.set_query('sales_tax_template', function () { + return { + filters: { + company: frm.doc.company + } + }; + }); }, refresh: function (frm) {