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'; $classpath = 'comm/action/class';
$subelement = 'Actioncomm'; $subelement = 'Actioncomm';
$module = 'agenda'; $module = 'agenda';
} } elseif ($element_type == 'bank_account') {
if ($element_type == 'bank_account') {
$classpath = 'compta/bank/class'; $classpath = 'compta/bank/class';
$module = 'banque'; $module = 'banque';
$classfile = 'Account'; $classfile = 'Account';
$classname = 'Account'; $classname = 'Account';
} elseif ($element_type == 'stock') {
$classpath = 'product/stock/class';
$classfile = 'entrepot';
$classname = 'Entrepot';
} }
// To work with non standard path // To work with non standard path
if ($element_type == 'facture' || $element_type == 'invoice') { if ($element_type == 'facture' || $element_type == 'invoice') {