[Vtigercrm-developers] Creating empty picklists when import Module

PlaymaN Tepes sshhocckk at gmail.com
Wed Aug 27 11:30:20 GMT 2014


Hi vTiger Team,

In this file:
http://trac.vtiger.com/svn/vtiger/vtigercrm/branches/6.0.0/vtlib/Vtiger/PackageImport.php
line: if(!empty($fieldnode->picklistvalues) &&
!empty($fieldnode->picklistvalues->picklistvalue)) {

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).

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140827/4d86fae9/attachment-0001.html>


More information about the vtigercrm-developers mailing list