Hello,<div><br></div><div>I want to ask if it is possible to fix the problem with functions:</div><div><span style="background-color:rgb(255,255,221);font-family:&#39;Lucida Grande&#39;,Helvetica,Verdana,Arial,sans-serif;font-size:12px;line-height:18px">getInventoryTaxType, getInventoryCurrencyInfo in include/utils/InventoryUtils.php</span></div>
<div><span style="background-color:rgb(255,255,221);font-family:&#39;Lucida Grande&#39;,Helvetica,Verdana,Arial,sans-serif;font-size:12px;line-height:18px"><br></span></div><div><font face="Lucida Grande, Helvetica, Verdana, Arial, sans-serif"><span style="font-size:12px;line-height:18px">They are dedicated for modules with products : Quotes, Purchase Order, Sales Order, Invoice, and</span></font></div>
<div><font face="Lucida Grande, Helvetica, Verdana, Arial, sans-serif"><span style="font-size:12px;line-height:18px">both have declared special tables inside function`s code with declaration of module =&gt; table, and module =&gt; index. And if you want as a developer to create own module with products you have to overwrite it ... or try to bypass it using many other files using these functions ( which means a huge amount of functions because they are used in almost each view presenting data )</span></font></div>
<div><br></div><div><font face="Lucida Grande, Helvetica, Verdana, Arial, sans-serif"><span style="font-size:12px;line-height:18px">How to fix  ? For example I propose add new column in vtiger_tab in which you can decide whether module has or has not a products, or a worse solution to create new table with declared modules with products. It would be much easier for developers if you make this functions more flexible ( and it is not hard to modify )</span></font></div>
<div><font face="Lucida Grande, Helvetica, Verdana, Arial, sans-serif"><span style="font-size:12px;line-height:18px"><br></span></font></div><div><font face="Lucida Grande, Helvetica, Verdana, Arial, sans-serif"><span style="font-size:12px;line-height:18px">Regards, Artur Rietz</span></font></div>