Merge pull request #36511 from lelex86/lelex86-patch-1
FIX: use suspended status in FactureFournisseurRec::updateline()
This commit is contained in:
commit
e49f907cdc
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue