fix: set_taxes() missing 1 required positional argument: 'company'
This commit is contained in:
parent
fcb6ba6ec7
commit
4f3b7da9ba
@ -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: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user