fix: getFilterSelectQuery get correct table

This commit is contained in:
Florian HENRY 2021-10-26 18:25:49 +02:00
parent 7cd09eb649
commit 96f08082a2

View File

@ -1963,6 +1963,12 @@ class Categorie extends CommonObject
if ($type == 'bank_account') {
$type = 'account';
}
if ($type == 'customer') {
$type = 'societe';
}
if ($type == 'supplier') {
$type = 'fournisseur';
}
if (empty($searchList) && !is_array($searchList)) {
return "";