Merge pull request #10294 from frederic34/patch-2

Update societe.class.php
This commit is contained in:
Laurent Destailleur 2019-01-02 19:35:10 +01:00 committed by GitHub
commit bab501a1aa
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;
}