try to fix : shipping specimen model not displayed
This commit is contained in:
parent
bc3f121d5a
commit
04f2b04dcf
@ -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
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user