Debug v23

This commit is contained in:
Laurent Destailleur 2026-01-23 19:18:13 +01:00
parent 5e176ab605
commit 2fc7d78709

View file

@ -2284,7 +2284,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($canvasdisplayactio
}
// Stock
if (($object->isProduct() || getDolGlobalInt('STOCK_SUPPORTS_SERVICES')) && isModEnabled('stock')) {
if (isModEnabled('stock')) {
if (isModEnabled('productbatch') && $object->hasbatch()) {
print '<tr><td><input type="hidden" id="stockable_product" name="stockable_product" value="on" /></td><td></td></tr>';
} else {