diff --git a/layouts/v7/modules/Inventory/resources/Edit.js b/layouts/v7/modules/Inventory/resources/Edit.js
index 7b1cc0f6c9e2385363bea7c6ac5c9257f6b9b541..5e32fd56caf067739b6fb7fccffc09390a4668ab 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(){