Hello Caos
According to me to be able to show anyone the system without getting in doubts and discussions the main important thing at first glance is to be able to Import data correctly, (while fortunately export eventually can be done even without the use of the Dolibarr interface, I mean data can be easily dumped using phpmyadmin or else for general use, meanwhile yes, a good exporter to reimport in other instances of Dolibarr without questions or tweakings would be also a very good utility to have in the package).
Yes, I also like the import module, is not badly done as a tool itself, trouble is that is incomplete, very little documented and prone to introduce errors in the database.
For products there is not much trouble, somehow is easy to reach a good result, although incomplete, many fields are just not contemplated
For the third parties there are several troubles instead.
In my case, I reached to be able to import only after many trial and errors, finally I got a simulation telling “no erorrs”, BUT, better examining the database content later on I saw that this was not the case.
A lot of NULL text strings were introduced where there should have been a real NULL (that due to my ignorance as well, the import could not work leaving the field blank, so I did input the NULLs as I got it from the dumping form another Dolibarr export module, and result of course was that NULL text strings were introduced in the table societe, e.g. which documents do explain how to avoid this?)
Another thing that happened is that in the tms column fields got to be set to real NULL, but that is non admitted, there should be a timestamp, I expected the import module to do it by itself, instead as I wrote I found a column of NULLs, I had to update the fields with timestamps.
By the way, final result is that:
- I do not know how many other errors are there, this is disconcerting, what worst than not knowing if the base have mangles and which ones?
- the list of the latest 15 modified third parties and widgets in the homepage showing the latest 5 modified do not work, or better, they show the modified ones as read inthe tms column, BUT, that column is not updated by Dolibarr anymore (while using a fresh installation of Dolibarr, creating new third parties or modifying some do output expcted results).
That happen because after the import process Dolibarr does not write or update with proper timestamp the tms fields, and so far I am not understanding what causes that.
As understandable that is quite frustrating.
So overall I suggest to Dolibarr developers to really take care to update and complete the import system, it is really crucially important, it would ease the adoption of Dolibarr and help to augment the amount of customization requests, which clients would like to pay eventually (while no one likes to see anything not working properly at first glance)
That said I hope that an enhancement is coming up and in the very near future to be able to say, “great, Dolibarr import data as a breeze…”
Cheers