mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-01 12:38:27 +00:00
fix: set_taxes() missing 1 required positional argument: 'company' (#23329)
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user