'If a logo was uploaded then create the extra versions.
Process injected fields'

@staticmethod
def org_organisation_onaccept(form):

    newfilename = form.vars.logo_newfilename
    if newfilename:
        s3db = current.s3db
        image = form.request_vars.logo
        s3db.pr_image_modify(image.file, newfilename, image.filename, size=(None, 60))
        s3db.pr_image_modify(image.file, newfilename, image.filename, size=(None, 60), to_format='bmp')
    db = current.db
    try:
        record_id = form.vars.id
    except AttributeError:
        pass
    else:
        otable = db.org_organisation
        query = ((otable.id == record_id) & (otable.root_organisation == None))
        db(query).update(root_organisation=otable.id)
    if (not current.deployment_settings.get_org_summary()):
        return
    post_vars = current.request.post_vars
    record_id = post_vars.id
    if (not record_id):
        return
    table = current.s3db.org_organisation_summary
    query = (table.organisation_id == record_id)
    existing = db(query).select(table.id, limitby=(0, 1)).first()
    if ('national_staff' in post_vars):
        national_staff = post_vars.national_staff
    else:
        national_staff = None
    if ('international_staff' in post_vars):
        international_staff = post_vars.international_staff
    else:
        international_staff = None
    if existing:
        db(query).update(national_staff=national_staff, international_staff=international_staff)
    elif (national_staff or international_staff):
        table.insert(organisation_id=id, national_staff=national_staff, international_staff=international_staff)
    return
