Merge branch '8.0' of git@github.com:Dolibarr/dolibarr.git into 9.0
Conflicts: htdocs/product/class/product.class.php
This commit is contained in:
commit
54b3acc997
@ -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.= '<br><b>' . $langs->trans('ProductAccountancySellCode') . ':</b> '. length_accountg($this->accountancy_code_sell);
|
||||
$label.= '<br><b>' . $langs->trans('ProductAccountancySellIntraCode') . ':</b> '. length_accountg($this->accountancy_code_sell_export);
|
||||
$label.= '<br><b>' . $langs->trans('ProductAccountancySellExportCode') . ':</b> '. length_accountg($this->accountancy_code_sell_intra);
|
||||
if(!empty($conf->global->MAIN_FEATURES_LEVEL)) {
|
||||
$label.= '<br><b>' . $langs->trans('ProductAccountancySellIntraCode') . ':</b> '. length_accountg($this->accountancy_code_sell_export);
|
||||
$label.= '<br><b>' . $langs->trans('ProductAccountancySellExportCode') . ':</b> '. 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()
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user