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

This commit is contained in:
Rohit Waghchaure 2020-09-15 14:47:36 +05:30
parent fcb6ba6ec7
commit 4f3b7da9ba

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