Merge pull request #36511 from lelex86/lelex86-patch-1

FIX: use suspended status in FactureFournisseurRec::updateline()
This commit is contained in:
Laurent Destailleur
2025-12-04 20:57:04 +01:00
committed by GitHub

View File

@@ -1186,7 +1186,7 @@ class FactureFournisseurRec extends CommonInvoice
return -1;
}
if ($this->status == self::STATUS_SUSPENDED) {
if ($this->suspended == self::STATUS_SUSPENDED) {
// Clean parameters
$fk_product = empty($fk_product) ? 0 : $fk_product;
$label = empty($label) ? '' : $label;