Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop Conflicts: htdocs/compta/bank/class/account.class.php
This commit is contained in:
commit
087938e340
@ -1088,8 +1088,8 @@ class Account extends CommonObject
|
|||||||
{
|
{
|
||||||
$country_code=$this->getCountryCode();
|
$country_code=$this->getCountryCode();
|
||||||
|
|
||||||
if (in_array($country_code,array('CH','DE','FR','ES','GA','IT'))) return 1; // France, Spain, Gabon
|
if (in_array($country_code,array('CH','FR','ES','GA','IT'))) return 1; // France, Spain, Gabon, ...
|
||||||
if (in_array($country_code,array('AU','CA','DK','GR','GB','ID','IE','IR','KR','NL','NZ','UK','US'))) return 2; // Australia, Great Britain...
|
if (in_array($country_code,array('AU','BE','CA','DE','DK','GR','GB','ID','IE','IR','KR','NL','NZ','UK','US'))) return 2; // Australia, England...
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -655,7 +655,7 @@ if (empty($action) && $product->id)
|
|||||||
}
|
}
|
||||||
|
|
||||||
//if (($user->rights->stock->mouvement->creer) && ! $product->hasbatch())
|
//if (($user->rights->stock->mouvement->creer) && ! $product->hasbatch())
|
||||||
if (($user->rights->stock->mouvement->creer))
|
if ($user->rights->stock->mouvement->creer)
|
||||||
{
|
{
|
||||||
print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?id='.$product->id.'&action=transfert">'.$langs->trans("StockMovement").'</a>';
|
print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?id='.$product->id.'&action=transfert">'.$langs->trans("StockMovement").'</a>';
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user