def table_of_model(cr, model):
    """Return the table for the provided model name."""
    return {'ir.actions.actions': 'ir_actions', 'ir.actions.act_url':
        'ir_act_url', 'ir.actions.act_window': 'ir_act_window',
        'ir.actions.act_window_close': 'ir_actions',
        'ir.actions.act_window.view': 'ir_act_window_view',
        'ir.actions.client': 'ir_act_client', 'ir.actions.report.xml':
        'ir_act_report_xml', 'ir.actions.report': 'ir_act_report_xml',
        'ir.actions.server': 'ir_act_server', 'ir.actions.wizard':
        'ir_act_wizard'}.get(model, model.replace('.', '_'))
