Merge pull request #18807 from elsp1991/Link-to-MO
add MO to the list of possible object to link
This commit is contained in:
commit
9b58c498ee
@ -7874,6 +7874,11 @@ class Form
|
|||||||
if (empty($conf->expedition->enabled)) {
|
if (empty($conf->expedition->enabled)) {
|
||||||
continue; // Do not show if module disabled
|
continue; // Do not show if module disabled
|
||||||
}
|
}
|
||||||
|
} elseif ($objecttype == 'mo') {
|
||||||
|
$tplpath = 'mrp/mo';
|
||||||
|
if (empty($conf->mrp->enabled)) {
|
||||||
|
continue; // Do not show if module disabled
|
||||||
|
}
|
||||||
} elseif ($objecttype == 'ficheinter') {
|
} elseif ($objecttype == 'ficheinter') {
|
||||||
$tplpath = 'fichinter';
|
$tplpath = 'fichinter';
|
||||||
if (empty($conf->ficheinter->enabled)) {
|
if (empty($conf->ficheinter->enabled)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user