diff --git a/htdocs/product/class/product.class.php b/htdocs/product/class/product.class.php
index 88b410da7fa..47e8be9067c 100644
--- a/htdocs/product/class/product.class.php
+++ b/htdocs/product/class/product.class.php
@@ -3759,8 +3759,10 @@ class Product extends CommonObject
if (! empty($conf->accounting->enabled) && $this->status) {
include_once DOL_DOCUMENT_ROOT.'/core/lib/accounting.lib.php';
$label.= '
' . $langs->trans('ProductAccountancySellCode') . ': '. length_accountg($this->accountancy_code_sell);
- $label.= '
' . $langs->trans('ProductAccountancySellIntraCode') . ': '. length_accountg($this->accountancy_code_sell_export);
- $label.= '
' . $langs->trans('ProductAccountancySellExportCode') . ': '. length_accountg($this->accountancy_code_sell_intra);
+ if(!empty($conf->global->MAIN_FEATURES_LEVEL)) {
+ $label.= '
' . $langs->trans('ProductAccountancySellIntraCode') . ': '. length_accountg($this->accountancy_code_sell_export);
+ $label.= '
' . $langs->trans('ProductAccountancySellExportCode') . ': '. length_accountg($this->accountancy_code_sell_intra);
+ }
}
if (! empty($conf->accounting->enabled) && $this->status_buy) {
include_once DOL_DOCUMENT_ROOT.'/core/lib/accounting.lib.php';
@@ -4042,8 +4044,8 @@ class Product extends CommonObject
* @param int $movement 0 = add, 1 = remove
* @param string $label Label of stock movement
* @param double $price Price to use for stock eval
- * @param date $dlc eat-by date
- * @param date $dluo sell-by date
+ * @param integer $dlc eat-by date
+ * @param integer $dluo sell-by date
* @param string $lot Lot number
* @param string $inventorycode Inventory code
* @param string $origin_element Origin element type
@@ -4811,7 +4813,7 @@ class Product extends CommonObject
/**
* Returns the rights used for this class
*
- * @return stdClass
+ * @return Object
*/
public function getRights()
{