#11560 Fix inventory report item

This commit is contained in:
miguel angel rasteu 2023-06-20 15:25:38 +02:00
parent 40dfca0ea6
commit c486b44707
1 changed files with 1 additions and 1 deletions

View File

@ -5333,7 +5333,7 @@ $(document).ready (function () {
break; break;
case 'inventory': case 'inventory':
case 'inventory_changes': case 'inventory_changes':
if ($("select#inventory_modules>option:selected").val() == 0) { if ($("select#inventory_modules>option:selected").val() == -1) {
dialog_message('#message_no_module'); dialog_message('#message_no_module');
return false; return false;
} }