sub report {
$lxdebug->enter_sub();
- $auth->assert('warehouse_content | warehouse_management');
+ $auth->assert('warehouse_contents | warehouse_management');
$form->get_lists('warehouses' => { 'key' => 'WAREHOUSES',
'bins' => 'BINS', });
sub generate_report {
$lxdebug->enter_sub();
- $auth->assert('warehouse_content | warehouse_management');
+ $auth->assert('warehouse_contents | warehouse_management');
$form->{title} = $locale->text("Report about wareouse contents");
$form->{sort} ||= 'partnumber';
submenu=1
[Warehouse--Reports--Warehouse content]
-ACCESS=warehouse_content | warehouse_management
+ACCESS=warehouse_contents | warehouse_management
module=wh.pl
action=report