[Dolibarr-dev] Imports

2014-07-10 Par sujet Maxime Kohlhaas
Hi all ! I just had trouble with the import module. I was trying to import link betwwen product and category but the system was not transforming my product ref into id to do the insert. After a little digging, i found that in the import_csv.modules.php file (core/modules/import), there's a test :

Re: [Dolibarr-dev] Imports

2014-07-10 Par sujet Marcos García
Because there's no support to Product Ref in some import wizards, they use Product Id. Regards, *Marcos García* marcos...@gmail.com 2014-07-10 16:59 GMT+02:00 Maxime Kohlhaas : > Hi all ! > > I just had trouble with the import module. > I was trying to import link betwwen product and catego

Re: [Dolibarr-dev] Imports

2014-07-10 Par sujet Maxime Kohlhaas
I think this import takes product ref because it's defined in the category mod : $this->import_convertvalue_array[$r]=array( 'cp.fk_categorie'=>array('rule'=>'fetchidfromref','classfile'=>'/categories/class/categorie.class.php','class'=>'Categorie','method'=>'fetch','element'=>'category'), 'cp.fk