fix shipping ajax tooltip

This commit is contained in:
Frédéric FRANCE 2023-03-29 18:22:36 +02:00
parent 975d805b85
commit 021309d761
2 changed files with 7 additions and 1 deletions

View File

@ -11280,6 +11280,11 @@ function getElementProperties($element_type)
$subelement = 'commande';
} elseif ($element_type == 'propal') {
$classpath = 'comm/propal/class';
} elseif ($element_type == 'shipping') {
$classpath = 'expedition/class';
$classfile = 'expedition';
$classname = 'Expedition';
$module = 'expedition';
} elseif ($element_type == 'supplier_proposal') {
$classpath = 'supplier_proposal/class';
$module = 'supplier_proposal';

View File

@ -1834,7 +1834,8 @@ class Expedition extends CommonObject
{
global $conf, $langs;
$langs->load('shipping');
$langs->load('sendings');
$nofetch = !empty($params['nofetch']);
$datas = array();