diff --git a/htdocs/compta/bank/class/account.class.php b/htdocs/compta/bank/class/account.class.php index 0f13804819d..887fc57f089 100644 --- a/htdocs/compta/bank/class/account.class.php +++ b/htdocs/compta/bank/class/account.class.php @@ -1088,8 +1088,8 @@ class Account extends CommonObject { $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('AU','CA','DK','GR','GB','ID','IE','IR','KR','NL','NZ','UK','US'))) return 2; // Australia, Great Britain... + if (in_array($country_code,array('CH','FR','ES','GA','IT'))) return 1; // France, Spain, Gabon, ... + 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; } diff --git a/htdocs/product/stock/product.php b/htdocs/product/stock/product.php index 44b17cac98f..eb010407ca3 100644 --- a/htdocs/product/stock/product.php +++ b/htdocs/product/stock/product.php @@ -655,7 +655,7 @@ if (empty($action) && $product->id) } //if (($user->rights->stock->mouvement->creer) && ! $product->hasbatch()) - if (($user->rights->stock->mouvement->creer)) + if ($user->rights->stock->mouvement->creer) { print ''.$langs->trans("StockMovement").''; }