Update fournisseur.commande.class.php

This commit is contained in:
Laurent Destailleur 2020-06-28 21:14:49 +02:00 committed by GitHub
parent 77868ad2a3
commit dfb7c3e194
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -528,7 +528,6 @@ class CommandeFournisseur extends CommonOrder
$sql.= " fk_user_valid = ".$user->id;
$sql.= " WHERE rowid = ".$this->id;
$sql.= " AND fk_statut = ".self::STATUS_DRAFT;
$sql.= " AND entity IN (".getEntity('supplier_order').")";
$resql=$this->db->query($sql);
if (! $resql)