Merge pull request #12854 from homer8173/patch-15

Fix modulbuilder create forms
This commit is contained in:
Laurent Destailleur 2020-01-15 20:10:36 +01:00 committed by GitHub
commit 87f0fe7c43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5910,6 +5910,7 @@ class Form
//var_dump($objecttmp->filter);
$prefixforautocompletemode = $objecttmp->element;
if ($prefixforautocompletemode == 'societe') $prefixforautocompletemode = 'company';
if ($prefixforautocompletemode == 'product') $prefixforautocompletemode='produit';
$confkeyforautocompletemode = strtoupper($prefixforautocompletemode).'_USE_SEARCH_TO_SELECT'; // For example COMPANY_USE_SEARCH_TO_SELECT
dol_syslog(get_class($this)."::selectForForms object->filter=".$objecttmp->filter, LOG_DEBUG);