Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Open window without closing the current view window ?

on 10/3/14, 8:59 AM 328 views


i want to open a window view, but without closing the current window, but this code close the curren window, someone help me ?

def button_article(self, cr, uid, ids, context=None):
      ctx = (context or {}).copy()
      ctx['article'] = self.browse(cr, uid, ids[0], context=context).product_id.id
      ctx['form_view_ref'] = 'itk_entrepot.itk_entrepot_article_maj'
      if ctx['article'] :
          return {
      else : return True

<button name="button_article"    string="Article" type="object" class="oe_highlight" icon="article" />

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 10/3/14, 8:59 AM
Seen: 328 times
Last updated: 3/16/15, 8:10 AM