Update societe.class.php

This commit is contained in:
Frédéric FRANCE 2019-01-02 15:39:22 +01:00 committed by GitHub
parent 63beb50465
commit cad95c7dc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1353,7 +1353,7 @@ class Societe extends CommonObject
}
// Use first price level if level not defined for third party
if (! empty($conf->global->PRODUIT_MULTIPRICES) && empty($this->price_level)) $this->price_level=1;
if ((! empty($conf->global->PRODUIT_MULTIPRICES) || ! empty($conf->global->PRODUIT_CUSTOMER_PRICES_BY_QTY_MULTIPRICES)) && empty($this->price_level)) $this->price_level=1;
return $result;
}