From 2e2b7daffd6a0722130c04e77f423c6cb8a45141 Mon Sep 17 00:00:00 2001
From: Prasad <prasad@vtiger.com>
Date: Tue, 30 Apr 2024 16:44:33 +0530
Subject: [PATCH] Fixed popover template format missed in Inventory Edit

---
 layouts/v7/modules/Inventory/resources/Edit.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/layouts/v7/modules/Inventory/resources/Edit.js b/layouts/v7/modules/Inventory/resources/Edit.js
index 7b1cc0f6c..5e32fd56c 100644
--- a/layouts/v7/modules/Inventory/resources/Edit.js
+++ b/layouts/v7/modules/Inventory/resources/Edit.js
@@ -2303,8 +2303,8 @@ Vtiger_Edit_Js("Inventory_Edit_Js", {
                 'animation' : true,
                 'title' : deductTaxesTriggerer.text(),
                 'trigger' : 'manual',
-                'template' : popOverTemplate
-                
+                'template' : popOverTemplate[0].outerHTML,
+				'sanitize' : false, /* to allow buttons or anchor tag */                
         });
 
 		deductTaxesTriggerer.on('shown.bs.popover', function(){
-- 
GitLab