'If no abrv is set then set it from the name'

@staticmethod
def org_sector_onaccept(form):

    _id = form.vars.id
    db = current.db
    table = db.org_sector
    record = db((table.id == _id)).select(table.abrv, table.name, limitby=(0, 1)).first()
    if (not record.abrv):
        db((table.id == _id)).update(abrv=record.name[:64])
