Skip to content

Commit

Permalink
Merge branch '20.0' of [email protected]:Dolibarr/dolibarr.git into 20.0
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jan 6, 2025
2 parents b4848d9 + 6d01a36 commit 5a5c9db
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions htdocs/reception/class/reception.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -729,11 +729,13 @@ public function getStatusDispatch()
$this->fetch_origin();
if ($this->origin_object instanceof CommonObject && empty($this->origin_object->lines)) {
$res = $this->origin_object->fetch_lines();
if ($this->origin_object instanceof CommandeFournisseur) {
$this->commandeFournisseur = $this->origin_object; // deprecated
} else {
$this->commandeFournisseur = null; // deprecated
$this->commandeFournisseur = null; // deprecated
if ($res < 0) {
return $res;
}
} elseif ($this->origin_object instanceof CommandeFournisseur && empty($this->origin_object->lines)) {
$res = $this->origin_object->fetch_lines();
$this->commandeFournisseur = $this->origin_object; // deprecated
if ($res < 0) {
return $res;
}
Expand Down

0 comments on commit 5a5c9db

Please sign in to comment.