'INV / Inventory'

@staticmethod
def inv():

    ADMIN = current.session.s3.system_roles.ADMIN
    s3db = current.s3db
    s3db.inv_recv_crud_strings()
    inv_recv_list = current.response.s3.crud_strings.inv_recv.title_list
    return M()(M('Warehouses', c='inv', f='warehouse')(M('Create', m='create'), M('Import', m='import', p='create')), M('Warehouse    Stock', c='inv', f='inv_item')(M('Search    Shipped    Items', f='track_item'), M('Import', f='inv_item', m='import', p='create')), M('Requests', c='req', f='req')(M('Create', m='create'), M('Requested    Items', f='req_item'), M('Recurring    Requests', f='req_template')), M('Reports', c='inv', f='inv_item')(M('Warehouse    Stock', f='inv_item', m='report')), M(inv_recv_list, c='inv', f='recv')(M('Create', m='create')), M('Sent    Shipments', c='inv', f='send')(M('Create', m='create'), M('Search    Shipped    Items', f='track_item')), M('Items', c='supply', f='item', m='summary')(M('Create', m='create'), M('Import', f='catalog_item', m='import', p='create')), M('Catalogs', c='supply', f='catalog')(M('Create', m='create')), M('Item    Categories', c='supply', f='item_category', restrict=[ADMIN])(M('Create', m='create')), M('Suppliers', c='inv', f='supplier')(M('Create', m='create'), M('Import', m='import', p='create')))
