From 2a8df9e3b1cd565efea9e6ae719c5c5eb084cea3 Mon Sep 17 00:00:00 2001 From: Zakaria Boushaba <48571684+Boushabazakaria@users.noreply.github.com> Date: Mon, 5 Jan 2026 13:29:21 +0100 Subject: [PATCH] Fix : Set empty td at the correct position when product use unit (#36787) Co-authored-by: Zakaria Boushaba --- htdocs/product/reassort.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/product/reassort.php b/htdocs/product/reassort.php index 17527d4278e..c1365d83ca6 100644 --- a/htdocs/product/reassort.php +++ b/htdocs/product/reassort.php @@ -489,6 +489,10 @@ if ($resql) { print ' '; $colspan++; } + if (getDolGlobalString('PRODUCT_USE_UNITS')) { + print ''; + $colspan++; + } $parameters = array(); $reshook = $hookmanager->executeHooks('printFieldListOption', $parameters); // Note that $action and $object may have been modified by hook print $hookmanager->resPrint; @@ -505,10 +509,6 @@ if ($resql) { print ''; $colspan++; } - if (getDolGlobalString('PRODUCT_USE_UNITS')) { - print ''; - $colspan++; - } print ''; // Line for column titles