2
0
forked from Wavyzz/dolibarr
This commit is contained in:
Laurent Destailleur
2020-01-07 20:28:21 +01:00
parent a2be1891e6
commit 7ef3ee56bd
8 changed files with 49 additions and 13 deletions

View File

@@ -1888,6 +1888,11 @@ function dolGetElementUrl($objectid, $objecttype, $withpicto = 0, $option = '')
$module='stock';
$myobject='inventory';
}
elseif ($objecttype == 'mo') {
$classpath = 'mrp/class';
$module='mrp';
$myobject='mo';
}
// Generic case for $classfile and $classname
$classfile = strtolower($myobject); $classname = ucfirst($myobject);