diff --git a/erpnext/public/js/controllers/transaction.js b/erpnext/public/js/controllers/transaction.js index 90b8f8bee22bc69bc82334524e075e840c76637e..c081e5969b65c37e0a23a8101359a76973127c1d 100644 --- a/erpnext/public/js/controllers/transaction.js +++ b/erpnext/public/js/controllers/transaction.js @@ -2048,9 +2048,8 @@ erpnext.TransactionController = class TransactionController extends erpnext.taxe method: "erpnext.stock.get_item_details.get_item_tax_map", args: { company: me.frm.doc.company, - tax_category: cstr(me.frm.doc.tax_category), - item_codes: item_codes, - doctype: me.frm.doc.doctype + item_tax_template: item.item_tax_template, + as_json: true }, callback: function(r) { if(!r.exc) {