fix(minor): filter tax template based on company in subscription (#37562)
fix: filter tax template based on company
(cherry picked from commit 1a2f659de2)
Co-authored-by: Gursheen Anand <gursheen@frappe.io>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user