Merge pull request #11001 from fappels/develop_fix_update_orderline

Fix customer order updateline
This commit is contained in:
Laurent Destailleur 2019-04-17 01:34:49 +02:00 committed by GitHub
commit 867f12b50b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2955,7 +2955,7 @@ class Commande extends CommonOrder
dol_syslog(get_class($this)."::updateline id=$rowid, desc=$desc, pu=$pu, qty=$qty, remise_percent=$remise_percent, txtva=$txtva, txlocaltax1=$txlocaltax1, txlocaltax2=$txlocaltax2, price_base_type=$price_base_type, info_bits=$info_bits, date_start=$date_start, date_end=$date_end, type=$type, fk_parent_line=$fk_parent_line, pa_ht=$pa_ht, special_code=$special_code");
include_once DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php';
if ($this->statut == Propal::STATUS_DRAFT)
if ($this->statut == Commande::STATUS_DRAFT)
{
// Clean parameters