Skip to content

Instantly share code, notes, and snippets.

@erickgnavar
Created April 22, 2015 15:12
Show Gist options
  • Save erickgnavar/245cf73eab31c896bd20 to your computer and use it in GitHub Desktop.
Save erickgnavar/245cf73eab31c896bd20 to your computer and use it in GitHub Desktop.
@api.v7
def select_objects(self, cr, uid, ids, context=None):
return {
'type': 'ir.actions.act_window',
'res_model': 'model',
'name': 'wizard',
'view_mode': 'form',
'view_type': 'form',
'target': 'new'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment