fix ajax tooltip for warehouse

This commit is contained in:
Frédéric FRANCE
2023-03-28 11:33:48 +02:00
parent 61f1445fbf
commit 75c29a0925

View File

@@ -11244,12 +11244,15 @@ function getElementProperties($element_type)
$classpath = 'comm/action/class';
$subelement = 'Actioncomm';
$module = 'agenda';
}
if ($element_type == 'bank_account') {
} elseif ($element_type == 'bank_account') {
$classpath = 'compta/bank/class';
$module = 'banque';
$classfile = 'Account';
$classname = 'Account';
} elseif ($element_type == 'stock') {
$classpath = 'product/stock/class';
$classfile = 'entrepot';
$classname = 'Entrepot';
}
// To work with non standard path
if ($element_type == 'facture' || $element_type == 'invoice') {