Skip to content

Commit

Permalink
Fix qualified line receptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Kazimir42 committed Apr 25, 2024
1 parent 0693fa9 commit 090f7b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/reception/class/reception.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ public function getStatusDispatch()
// qty wished in order supplier (origin)
foreach ($this->commandeFournisseur->lines as $origin_line) {
// exclude lines not qualified for reception
if (empty($conf->global->STOCK_SUPPORTS_SERVICES) && $origin_line->product_type > 0) {
if ((empty($conf->global->STOCK_SUPPORTS_SERVICES) && $origin_line->product_type == 1) || $origin_line->product_type > 1) {
continue;
}

Expand Down

0 comments on commit 090f7b4

Please sign in to comment.