Merge branch '6.0' of git@github.com:Dolibarr/dolibarr.git into 7.0
Conflicts: htdocs/product/class/product.class.php
This commit is contained in:
commit
123a66dc2a
@ -1704,7 +1704,7 @@ class Product extends CommonObject
|
||||
$price_ttc = price2num($price_ttc,'MU');
|
||||
|
||||
if ( $newminprice !== '' || $newminprice === 0)
|
||||
{
|
||||
{
|
||||
$price_min = price2num($newminprice,'MU');
|
||||
$price_min_ttc = price2num($newminprice) * (1 + ($newvat / 100));
|
||||
$price_min_ttc = price2num($price_min_ttc,'MU');
|
||||
@ -2271,8 +2271,8 @@ class Product extends CommonObject
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// If stock decrease is on invoice validation, the theorical stock continue to
|
||||
|
||||
// If stock decrease is on invoice validation, the theorical stock continue to
|
||||
// count the orders to ship in theorical stock when some are already removed b invoice validation.
|
||||
// If option DECREASE_ONLY_UNINVOICEDPRODUCTS is on, we make a compensation.
|
||||
if (! empty($conf->global->STOCK_CALCULATE_ON_BILL))
|
||||
@ -4572,8 +4572,6 @@ class Product extends CommonObject
|
||||
|
||||
$langs->load('products');
|
||||
|
||||
//$this->db->begin();
|
||||
|
||||
$label_type = 'label';
|
||||
|
||||
if ($type == 'short')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user