Fix bad column

This commit is contained in:
Laurent Destailleur 2020-12-02 19:13:32 +01:00
parent 9e18997e64
commit d88173d7ba
3 changed files with 4 additions and 2 deletions

View File

@ -6889,7 +6889,7 @@ abstract class CommonObject
$helptoshow = $langs->trans($extrafields->attributes[$this->table_element]['help'][$key]); $helptoshow = $langs->trans($extrafields->attributes[$this->table_element]['help'][$key]);
$out .= '<tr '.($html_id ? 'id="'.$html_id.'" ' : '').$csstyle.' class="'.$class.$this->element.'_extras_'.$key.' trextrafields_collapse'.$extrafields_collapse_num.'" '.$domData.' >'; $out .= '<tr '.($html_id ? 'id="'.$html_id.'" ' : '').$csstyle.' class="'.$class.$this->element.'_extras_'.$key.' trextrafields_collapse'.$extrafields_collapse_num.'" '.$domData.' >';
if (!empty($conf->global->MAIN_VIEW_LINE_NUMBER)) { if (!empty($conf->global->MAIN_VIEW_LINE_NUMBER) && $action == 'view') {
$out .= '<td></td>'; $out .= '<td></td>';
} }
$out .= '<td class="wordbreak'; $out .= '<td class="wordbreak';

View File

@ -17,6 +17,8 @@
-- --
-- ======================================================================== -- ========================================================================
-- This is the dictionary of sales orders origin
create table llx_c_input_reason create table llx_c_input_reason
( (
rowid integer AUTO_INCREMENT PRIMARY KEY, rowid integer AUTO_INCREMENT PRIMARY KEY,

View File

@ -672,7 +672,7 @@ if ($action == 'create' && $user->rights->projet->creer)
print $hookmanager->resPrint; print $hookmanager->resPrint;
if (empty($reshook)) if (empty($reshook))
{ {
print $object->showOptionals($extrafields, 'edit'); print $object->showOptionals($extrafields, 'create');
} }
print '</table>'; print '</table>';