do not use cache for thirdparty in order list
This commit is contained in:
parent
29d1197cbb
commit
2df357c7c2
@ -2077,7 +2077,11 @@ if ($resql) {
|
|||||||
// Third party
|
// Third party
|
||||||
if (!empty($arrayfields['s.nom']['checked'])) {
|
if (!empty($arrayfields['s.nom']['checked'])) {
|
||||||
print '<td class="tdoverflowmax150">';
|
print '<td class="tdoverflowmax150">';
|
||||||
|
if (getDolGlobalInt('MAIN_ENABLE_AJAX_TOOLTIP')) {
|
||||||
|
print $companystatic->getNomUrl(1, 'customer', 100, 0, 1, empty($arrayfields['s.name_alias']['checked']) ? 0 : 1);
|
||||||
|
} else {
|
||||||
print $getNomUrl_cache[$obj->socid];
|
print $getNomUrl_cache[$obj->socid];
|
||||||
|
}
|
||||||
|
|
||||||
// If module invoices enabled and user with invoice creation permissions
|
// If module invoices enabled and user with invoice creation permissions
|
||||||
if (isModEnabled('facture') && !empty($conf->global->ORDER_BILLING_ALL_CUSTOMER)) {
|
if (isModEnabled('facture') && !empty($conf->global->ORDER_BILLING_ALL_CUSTOMER)) {
|
||||||
|
|||||||
@ -2927,7 +2927,7 @@ class Societe extends CommonObject
|
|||||||
'objecttype' => $this->element,
|
'objecttype' => $this->element,
|
||||||
'option' => $option,
|
'option' => $option,
|
||||||
];
|
];
|
||||||
$linkclose .= ' data-params='.json_encode($params).' id="societe-' . uniqid() . '" title="' . $langs->trans('Loading') . '"';
|
$linkclose .= ' data-params='.json_encode($params).' id="' . uniqid('societe-') . '" title="' . $langs->trans('Loading') . '"';
|
||||||
$linkclose .= ' class="classforajaxtooltip refurl valignmiddle"';
|
$linkclose .= ' class="classforajaxtooltip refurl valignmiddle"';
|
||||||
} else {
|
} else {
|
||||||
$linkclose .= ' title="'.dol_escape_htmltag($label, 1).'"';
|
$linkclose .= ' title="'.dol_escape_htmltag($label, 1).'"';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user