2
0
forked from Wavyzz/dolibarr

Merge origin/patch-modulebuilder-supportsellist into patch-modulebuilder-supportsellist

This commit is contained in:
patrick Delcroix
2018-05-26 23:43:17 +02:00
2 changed files with 6 additions and 7 deletions

View File

@@ -64,7 +64,7 @@ function rebuildObjectClass($destdir, $module, $objectname, $newmask, $readdir='
return -2;
}
if (! preg_match('/^(price|boolean|sellist|integer|date|timestamp|varchar|double)/', $addfieldentry['type']))
if (! preg_match('/^(price|boolean|sellist|integer|date|timestamp|varchar|double|text|html)/', $addfieldentry['type']))
{
setEventMessages($langs->trans('BadFormatForType', $objectname), null, 'errors');