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 else
{ {
$mesg='<font class="error">'.$obj->error.'</font>'; $mesg='<font class="error">'.$module->error.'</font>';
dol_syslog($obj->error, LOG_ERR); dol_syslog($module->error, LOG_ERR);
} }
} }
else else

View File

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