def item_category():

    table = s3db.supply_item_category

    # Filter to just Assets
    s3.filter = (table.can_be_asset == True)

    # Default to Assets
    field = table.can_be_asset
    field.readable = field.writable = False
    field.default = True

    return s3_rest_controller("supply", "item_category")

# -----------------------------------------------------------------------------
Enable availability zones to this Access Point.
dataset/ETHPy150Open sahana/eden/controllers/asset.py/item_category--crossover with--dataset/ETHPy150Open darcyliu/storyboard/boto/ec2/elb/loadbalancer.py/LoadBalancer.enable_zones