fix: fetch reception on supplier order dispatch fetch

This commit is contained in:
bahfir abbes 2020-08-05 08:35:49 +01:00 committed by Laurent Destailleur
parent ed6acfa1e7
commit 2cdb17a110

View File

@ -292,7 +292,9 @@ class CommandeFournisseurDispatch extends CommonObject
$this->batch = $obj->batch; $this->batch = $obj->batch;
$this->eatby = $this->db->jdate($obj->eatby); $this->eatby = $this->db->jdate($obj->eatby);
$this->sellby = $this->db->jdate($obj->sellby); $this->sellby = $this->db->jdate($obj->sellby);
$this->fetch_optionals(); $this->fk_reception = $obj->fk_reception;
$this->fetch_optionals();
} }
$this->db->free($resql); $this->db->free($resql);