From 19e7b3f43d73c19caf90a10e13958f157ed3b3b1 Mon Sep 17 00:00:00 2001 From: Corentin Forler <8860073-cforler_dokos@users.noreply.gitlab.com> Date: Fri, 15 Mar 2024 18:45:33 +0100 Subject: [PATCH] fix(transaction): Fix typo in item_tax_template child event --- erpnext/public/js/controllers/transaction.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/erpnext/public/js/controllers/transaction.js b/erpnext/public/js/controllers/transaction.js index 90b8f8bee22..c081e5969b6 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) { -- GitLab