Skip to content
Snippets Groups Projects
Commit 9fb02989 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Doxygen

parent 87f7771a
No related branches found
No related tags found
No related merge requests found
...@@ -560,7 +560,7 @@ class Product extends CommonObject ...@@ -560,7 +560,7 @@ class Product extends CommonObject
if (empty($this->localtax2_tx)) $this->localtax2_tx = 0; if (empty($this->localtax2_tx)) $this->localtax2_tx = 0;
if (empty($this->status)) $this->status = 0; if (empty($this->status)) $this->status = 0;
if (empty($this->status_buy)) $this->status_buy = 0; if (empty($this->status_buy)) $this->status_buy = 0;
if (empty($this->country_id)) $this->country_id = 0; if (empty($this->country_id)) $this->country_id = 0;
//Gencod //Gencod
...@@ -1486,9 +1486,9 @@ class Product extends CommonObject ...@@ -1486,9 +1486,9 @@ class Product extends CommonObject
// We should not load stock at each fetch. If someone need stock, he must call load_stock after fetch. // We should not load stock at each fetch. If someone need stock, he must call load_stock after fetch.
//$res=$this->load_stock(); //$res=$this->load_stock();
//return $res;
// ok we don't load stock but we init the stock_warehouse array // instead we just init the stock_warehouse array
$this->stock_warehouse = Array(); $this->stock_warehouse = array();
return 1; return 1;
} }
...@@ -3271,7 +3271,7 @@ class Product extends CommonObject ...@@ -3271,7 +3271,7 @@ class Product extends CommonObject
function get_barcode($object,$type='') function get_barcode($object,$type='')
{ {
global $conf; global $conf;
$result=''; $result='';
if (! empty($conf->global->BARCODE_PRODUCT_ADDON_NUM)) if (! empty($conf->global->BARCODE_PRODUCT_ADDON_NUM))
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment