Hi Christian,<br><br>I&#39;m trying to understand why you would want to delete theses fields from the database while it is so easy to hide them system wide using the configuration panel.<br><br>Do you have any special reason to really delete theses fields from the db ? If not it would be really easier to just hide them.<br>
<br>David V.<br><br><div class="gmail_quote">On Thu, Jan 29, 2009 at 5:56 PM, Christian Castelli <span dir="ltr">&lt;<a href="mailto:christian.castelli@trackset.com">christian.castelli@trackset.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi vTiger developers,<br>
my company sells web services, so there are a lot of field in many<br>
modules (such as Leads, Quotes, Accounts and Invoice) that we don&#39;t need<br>
(and won&#39;t need).<br>
Instead of modifying Smarty templates (which would have taken too much<br>
time), I considered to delete these fields directly in the DB, from<br>
vtiger_fields.<br>
It seems to work all fine but:<br>
<br>
1) I&#39;ve noticed that every time I deleted some rows from vtiger_field,<br>
the system log me out. Then I logged in again and when I deleted some<br>
rows it logged me out again. Is it normal?<br>
<br>
2) After these mods, I receive these warning (these printings come from<br>
Xdebug) only in Home Page and Invoice Module ListView.<br>
<br>
Warning: Invalid argument supplied for foreach() in<br>
/var/www/work/vtiger/include/utils/ListViewUtils.php on line 1169<br>
Call Stack<br>
# &nbsp; &nbsp;Time &nbsp; &nbsp;Memory &nbsp; &nbsp;Function &nbsp; &nbsp;Location<br>
1 &nbsp; &nbsp;0.0031 &nbsp; &nbsp;253276 &nbsp; &nbsp;{main}( ) &nbsp; &nbsp;../index.php:0<br>
2 &nbsp; &nbsp;0.8356 &nbsp; &nbsp;13673132 &nbsp; &nbsp;include(<br>
&#39;/var/www/work/vtiger/modules/Home/index.php&#39; ) &nbsp; &nbsp;../index.php:577<br>
3 &nbsp; &nbsp;1.8453 &nbsp; &nbsp;15020680 &nbsp; &nbsp;getTopInvoice( ) &nbsp; &nbsp;../index.php:135<br>
4 &nbsp; &nbsp;1.9300 &nbsp; &nbsp;15163560 &nbsp; &nbsp;getListViewEntries( )<br>
&nbsp;../ListTopInvoice.php:115<br>
5 &nbsp; &nbsp;1.9666 &nbsp; &nbsp;15196216 &nbsp; &nbsp;getValue( ) &nbsp; &nbsp;../ListViewUtils.php:889<br>
<br>
Have I missed something? It&#39;s not so important to correct these warnings<br>
but if I can, I&#39;ll do.<br>
Thanks for attention,<br>
Greetings.<br>
_______________________________________________<br>
Reach hundreds of potential candidates - <a href="http://jobs.vtiger.com" target="_blank">http://jobs.vtiger.com</a><br>
</blockquote></div><br>