Merge pull request #19866 from nextchamp-saqib/ux-fix
fix: tax templates from all companies fetching in receipt
This commit is contained in:
@@ -27,6 +27,12 @@ frappe.ui.form.on("Purchase Receipt", {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
frm.set_query("taxes_and_charges", function() {
|
||||||
|
return {
|
||||||
|
filters: {'company': frm.doc.company }
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
},
|
},
|
||||||
onload: function(frm) {
|
onload: function(frm) {
|
||||||
erpnext.queries.setup_queries(frm, "Warehouse", function() {
|
erpnext.queries.setup_queries(frm, "Warehouse", function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user