Merge branch '3.2' of git+ssh://git@github.com/Dolibarr/dolibarr.git into 3.2.1

This commit is contained in:
Regis Houssin
2012-06-29 09:37:46 +02:00
5 changed files with 141 additions and 6 deletions

View File

@@ -78,7 +78,8 @@ class mod_codecompta_panicum extends ModeleAccountancyCode
function get_code($db, $societe, $type='')
{
// Renvoie toujours ok
$this->code = $societe->code_compta;
if ($type == 'supplier') $this->code = $societe->code_compta_fournisseur;
else $this->code = $societe->code_compta;
return 0;
}
}