fix: set_taxes() missing 1 required positional argument: 'company' (#23329)

This commit is contained in:
rohitwaghchaure
2020-09-15 19:42:56 +05:30
committed by GitHub
parent bea5e5b1bc
commit 783a4c7f48

View File

@@ -224,6 +224,10 @@ erpnext.utils.set_taxes = function(frm, triggered_from_field) {
party = frm.doc.party_name;
}
if (!frm.doc.company) {
frappe.throw(_("Kindly select the company first"));
}
frappe.call({
method: "erpnext.accounts.party.set_taxes",
args: {