2
0
forked from Wavyzz/dolibarr

FIX 9.0 - supplier proposals as linked objects of events are not correctly fetched

This commit is contained in:
Florian Mortgat
2020-10-20 16:37:15 +02:00
parent 74eac1d06a
commit 529dfb8dfb

View File

@@ -1872,6 +1872,12 @@ function dolGetElementUrl($objectid,$objecttype,$withpicto=0,$option='')
$classpath = 'fourn/class';
$module='fournisseur';
}
elseif ($objecttype == 'supplier_proposal') {
$classfile = 'supplier_proposal';
$classname = 'SupplierProposal';
$classpath = 'supplier_proposal/class';
$module = 'supplier_proposal';
}
elseif ($objecttype == 'stock') {
$classpath = 'product/stock/class';
$classfile='entrepot';