un grand merci morfea77 !!!
Ça marche en effet sur les factures.
Fichier "./www/dolibarr/htdocs/custom/forceproject/core/triggers/interface_50_modProjet_ForceProject.class.php", emplacement selon config.
Après
if ($action == 'BILL_VALIDATE' && (! empty($conf->global->FORCEPROJECT_ON_INVOICE) || ! empty($conf->global->FORCEPROJECT_ON_ALL)))
.................................
return -1;
}
insérer
else
{
$object->fetch_projet();
$projectid=$object->projet->id;...
Ça marche en effet sur les factures.
Fichier "./www/dolibarr/htdocs/custom/forceproject/core/triggers/interface_50_modProjet_ForceProject.class.php", emplacement selon config.
Après
if ($action == 'BILL_VALIDATE' && (! empty($conf->global->FORCEPROJECT_ON_INVOICE) || ! empty($conf->global->FORCEPROJECT_ON_ALL)))
.................................
return -1;
}
insérer
else
{
$object->fetch_projet();
$projectid=$object->projet->id;...