Skip to content
Snippets Groups Projects
Commit eccbf89e authored by Maxime Kohlhaas's avatar Maxime Kohlhaas
Browse files

Bank account sharing for multi company

parent 98bd56e2
No related branches found
No related tags found
No related merge requests found
......@@ -654,7 +654,7 @@ $sql = "SELECT rowid, label";
$sql.= " FROM ".MAIN_DB_PREFIX."bank_account";
$sql.= " WHERE clos = 0";
$sql.= " AND courant = 1";
$sql.= " AND entity = ".$conf->entity;
$sql.= " AND entity IN (".getEntity('bank_account', 1).")";
$var=True;
$resql=$db->query($sql);
if ($resql)
......
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