def item_category():

    table = s3db.supply_item_category

    # Filter to just Vehicles
    s3.filter = (table.is_vehicle == True)

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

    return s3_rest_controller("supply", "item_category")

# END =========================================================================
Send refresh command.
dataset/ETHPy150Open sahana/eden/controllers/vehicle.py/item_category--crossover with--dataset/ETHPy150Open dbcli/pgcli/tests/features/steps/step_definitions.py/step_refresh_completions