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
|
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
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user