Hello,
For the module 'agefodd' we need to link object session with actioncomm but
When insert in llx_actioncomm the 'elementtype' value is
'agefodd_agefodd_session'
The classname is "Agefodd_session".
But function getElementUrl() used in /comm/action/fiche.php doesn't
accept two undersore in $objecttype value :(
In this function I've modified :
if (preg_match('/^([^_]+)_*([^_]+)*/i',$objecttype,$regs))
in
if (preg_match('/^([^_]+)_*(.*+)*/i',$objecttype,$regs))
to correct but it' for dev only and require table modification on
structure to pass varchar at 32
:\|<http://devmachine/phpmyadmin/url.php?url=http%3A%2F%2Fdev.mysql.com%2Fdoc%2Frefman%2F5.5%2Fen%2Fupdate.html&token=8ed285104ccbc9ed2396af8bd4c97897>|
It would be nice to use the @ sign to designate the module as example
for loading a language file, it would be utilier underscore in class names.
Otherwise we need classes renamed (again).
Or so I plant completely how to, thank you in this case to explain how
to do it :)
Regards,
JF
P.S : this is valable for Dolibarr 3.2.0
_______________________________________________
Dolibarr-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev