Wow thanks for this, didn’t aware of your work @p.konetskiy !
I can maybe use your “Collection files” for the 3 files, some questions:
Do it support the lead conversion to account ?
Do the delete work clean ? I mean do your field delete every entry on DB and the file into the upload/ folder ? I will maybe have to delete some users file and want this to be clean (cause I will have more than 18K of files.)
Can I upload file via API to your field “Collection files” ?
All in all I will install yours addons cause am too curious to test it !
No, by default. There are two different modules - parent which the field type and child with files. You can customize the function handleSave of file modules/Leads/views/view.convertlead.php. I think it’s easy enough.
You should create the field type to both modules and add relationship when the record is converted. You will two links to one file.
Using standard for SuiteCRM mechanizm for delete record. The record is marking as deleted. The file is deleting fully using php command unlink.