<div dir="ltr">We need at least one value in picklist for its existence (atleast --None--). <div>This is an assumption made by LayoutEditor as well.</div></div><div class="gmail_extra"><br clear="all"><div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><b>Connect with us on: </b><a href="http://twitter.com/vtigercrm" style="color:rgb(0,0,204)" target="_blank">Twitter</a> <b>I</b> <a href="http://www.facebook.com/pages/vtiger/226866697333578?sk=wall" style="color:rgb(0,0,204)" target="_blank">Facebook</a> <b>I</b> <a href="https://blogs.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Blog</a><b> I</b> <a href="http://wiki.vtiger.com/index.php/Main_Page" style="color:rgb(0,0,204)" target="_blank">Wiki</a> <b>I </b><a href="https://discussions.vtiger.com" style="color:rgb(0,0,204)" target="_blank">Forums </a><b>I</b> <a href="https://www.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Website</a></span></div>


<br><br><div class="gmail_quote">On Wed, Aug 27, 2014 at 5:00 PM, PlaymaN Tepes <span dir="ltr"><<a href="mailto:sshhocckk@gmail.com" target="_blank">sshhocckk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">Hi vTiger Team,<br><br>In this file: <a href="http://trac.vtiger.com/svn/vtiger/vtigercrm/branches/6.0.0/vtlib/Vtiger/PackageImport.php" target="_blank">http://trac.vtiger.com/svn/vtiger/vtigercrm/branches/6.0.0/vtlib/Vtiger/PackageImport.php</a><div>


line: <span style="color:rgb(0,0,0);white-space:pre-wrap">if(!empty($fieldnode->picklistvalues) && !empty($fieldnode->picklistvalues->picklistvalue)) {</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br>


</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">I cant get why I cant import a Module with an empty picklist.  In my module, for example, you feed the picklist after installing the module (via webservice to another service).</span></div>


<div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><font color="#000000"><span style="white-space:pre-wrap">The thing is we should check if uitype is 15,16,33 and not if picklistvalues are empty. In this way, with empty values, the table will create (now, the table is not created).

By the way, I want to know if I can change the algorythm by myself and which consequences will bring (Maybe zero).

Thanks in advance.</span></font></div><div><br></div></div>
<br>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>