@api.v7
def moves_xml(self,cr,uid,ids,context=None):
do some stuff with v7-syntax/api....
return {
'type': 'ir.actions.act_window',
'res_model': 'account.export',
'view_mode': 'form',
'view_type': 'form',
'res_id': account.id,
'views': [(False, 'form')],
'target': 'new',
}
How do I open the same window with the v8 api?