Merge pull request #14116 from aspangaro/12p1
FIX: SQL Problem in customer invoice list
This commit is contained in:
commit
cf899364f3
@ -558,7 +558,8 @@ if (!$sall)
|
||||
$sql .= ' typent.code,';
|
||||
$sql .= ' state.code_departement, state.nom,';
|
||||
$sql .= ' country.code,';
|
||||
$sql .= " p.rowid, p.ref, p.title";
|
||||
$sql .= " p.rowid, p.ref, p.title,";
|
||||
$sql .= " u.login";
|
||||
if ($search_categ_cus) $sql .= ", cc.fk_categorie, cc.fk_soc";
|
||||
// Add fields from extrafields
|
||||
if (!empty($extrafields->attributes[$object->table_element]['label'])) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user