Odoo Help


How to call another form through a button without saving parent form?

on 8/6/14, 5:22 AM 957 views

I have been trying to call a form from my parent form. The form is being called nicely but when I return back to my parent form. It gets saved automatically. I want to remain the parent form in the edit mode because when I call button for child form, its in edit mode then how it gets saved ? i dont want to save this form and hit edit button again every time I go back from child form. My python code for calling the form is as follows:

def show(self,cr,uid,ids,context=None):
        for id in ids:
        print my_id
              'view_type': 'form',
              'view_mode': 'form',
              'res_model': 'product.product',
              'context': context,
              'type': 'ir.actions.act_window',



About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 8/6/14, 5:22 AM
Seen: 957 times
Last updated: 3/16/15, 8:10 AM