mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 09:38:23 +01:00
Fix #12044 : with replenish function, use product supplier desc in order
This commit is contained in:
@@ -147,7 +147,13 @@ if ($action == 'order' && isset($_POST['valid']))
|
|||||||
{
|
{
|
||||||
$productsupplier->getMultiLangs();
|
$productsupplier->getMultiLangs();
|
||||||
}
|
}
|
||||||
$line->desc = $productsupplier->description;
|
|
||||||
|
// if we use supplier description of the products
|
||||||
|
if(!empty($productsupplier->desc_supplier) && !empty($conf->global->PRODUIT_FOURN_TEXTS)) {
|
||||||
|
$desc = $productsupplier->desc_supplier;
|
||||||
|
} else $desc = $productsupplier->description;
|
||||||
|
|
||||||
|
$line->desc = $desc;
|
||||||
if (! empty($conf->global->MAIN_MULTILANGS))
|
if (! empty($conf->global->MAIN_MULTILANGS))
|
||||||
{
|
{
|
||||||
// TODO Get desc in language of thirdparty
|
// TODO Get desc in language of thirdparty
|
||||||
|
|||||||
Reference in New Issue
Block a user