[Vtigercrm-developers] RES: Pick lists values

Jonathan Sardo sardoj at gmail.com
Mon Feb 17 12:41:23 GMT 2014


Douglas,

To generalyze this fix, you can merge this script with data/CRMEntity.php
content. (See attached file).
If you want to override vtlib_handler() function in your module class,
don't forget to call :

parrent::vtlib_handler($moduleName, $eventType);


Regards,

Jonathan SARDO
[image: Images intégrées 5]
Tél. 06 99 45 50 47


2014-02-17 13:25 GMT+01:00 Douglas Gigante <douglas.gigante at tecnocomp.com.br
>:

>  Jonathan,
>
>
>
> Can you please be more specific regarding this fix?! Do I have to add that
> "modulename.php instruction inside the other PHP file?
>
>
>
>
>
> Kind regards,
>
>
>
> *| Douglas R Gigante |* *Gerente de Desenvolvimento de Negócios**  - TI *
> *|** SP **| **11 2199-5800  R. 5864 **|** 11 **99135-9964**|*<http://www.tecnocomp.com.br/> *TecnoComp
> Tecnologia e Serviços* <http://www.tecnocomp.com.br/>* | *
>   * ------------------------------ *
>
> *| Serviços e Produtos *** **CSC - Service Desk *** **Suporte e Gestão de
> Ativos ***** Data Center Services ***** Infraestrutura |*
>
>
>
>
>
>
>
> *De:* vtigercrm-developers-bounces at lists.vtigercrm.com [mailto:
> vtigercrm-developers-bounces at lists.vtigercrm.com] *Em nome de *Jonathan
> Sardo
> *Enviada em:* sábado, 15 de fevereiro de 2014 13:42
> *Para:* vtigercrm-developers at lists.vtigercrm.com
> *Assunto:* Re: [Vtigercrm-developers] Pick lists values
>
>
>
> Hi Andrew,
>
>
>
> Yes, Vtiger does not replace data. It always adds again.
>
>
>
> Have a look at the attached script. You can add this in you module's class
> or in the CRMEntity class (/data/CRMentity.php) to generalize the behavior.
>
>
>
> Regards,
>
>
>
> Jonathan SARDO
>
> [image: Images intégrées 5]
>
> Tél. 06 99 45 50 47
>
>
>
> 2014-02-15 6:14 GMT+01:00 Siam Translations LLP <
> info at siam-translations.com>:
>
> While importing records picklist values are not replaced with same one but
> added to database. Geting messy. Anybody noticed it?
>
> Andrew Smith
>
>
> _______________________________________________
> http://www.vtiger.com/
>
>
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140217/36fcb0c5/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 4223 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140217/36fcb0c5/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 4223 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140217/36fcb0c5/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CRMEntity.php
Type: application/x-httpd-php
Size: 109906 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140217/36fcb0c5/attachment-0001.php>


More information about the vtigercrm-developers mailing list