Functions.lib version 10.0.6 - ITALIAN Province

Hello,

I don’t know if it is the correct way to propose a correction but you have to modify functions.lib this way for country IT, instead of state_id you should put state_code as below.

Thanks

elseif (in_array($object->country_code, array(‘IT’))) // IT: tile firstname name\n address lines \n zip (Code Departement) \n country
{
$ret .= ($ret ? $sep : ‘’ ).$object->zip;
$ret .= ($object->town?(($object->zip?’ ‘:’‘).$object->town):’‘);
$ret .= ($object->state_code?(’ (‘.($object->state_code).’)‘):’');
}

Hi,

Thanks.

To propose correction, you need to do it on github : https://github.com/Dolibarr/dolibarr/issues/new/choose