try to fix : shipping specimen model not displayed

This commit is contained in:
Grand Philippe 2012-04-22 00:41:13 +02:00
parent bc3f121d5a
commit 04f2b04dcf
2 changed files with 3 additions and 3 deletions

View File

@ -140,8 +140,8 @@ if ($action == 'specimen')
}
else
{
$mesg='<font class="error">'.$obj->error.'</font>';
dol_syslog($obj->error, LOG_ERR);
$mesg='<font class="error">'.$module->error.'</font>';
dol_syslog($module->error, LOG_ERR);
}
}
else

View File

@ -1060,7 +1060,7 @@ class Expedition extends CommonObject
// Initialise parametres
$this->id=0;
$this->ref = 'SPECIMEN_SHIP';
$this->ref = 'SPECIMEN';
$this->specimen=1;
$this->statut = 1;
$this->livraison_id = 0;