Skip to content

Commit

Permalink
FIX : Not qualified lines for reception (#29473)
Browse files Browse the repository at this point in the history
* Fix qualified line receptions

* indent

* change
  • Loading branch information
Kazimir42 authored May 9, 2024
1 parent 8a57ac3 commit 66d4960
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 ((!getDolGlobalString('STOCK_SUPPORTS_SERVICES') && $origin_line->product_type > 0) || $origin_line->product_type > 1) {
continue;
}

Expand Down

0 comments on commit 66d4960

Please sign in to comment.