diff --git a/htdocs/product/class/product.class.php b/htdocs/product/class/product.class.php index b21d6718b0c..197bb8ed3cf 100644 --- a/htdocs/product/class/product.class.php +++ b/htdocs/product/class/product.class.php @@ -1797,6 +1797,7 @@ class Product extends CommonObject $this->fourn_multicurrency_id = $obj->fk_multicurrency; $this->fourn_multicurrency_code = $obj->multicurrency_code; if (!empty($conf->global->PRODUCT_USE_SUPPLIER_PACKAGING)) $this->packaging = $obj->packaging; + $result = $obj->fk_product; return $result; } else { // If not found