'Budget bundle has been updated => update totals of the budget'

@staticmethod
def budget_budget_bundle_onaccept(form):

    try:
        record_id = form.vars.id
    except:
        return
    table = current.s3db.budget_budget_bundle
    row = current.db((table.id == record_id)).select(table.budget_entity_id, limitby=(0, 1)).first()
    if row:
        budget_budget_totals(row.budget_entity_id)
    return
