Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I have a tree view, where I select a record. When I select it the window changes to a form to can see and edit this record.
Here I can click a button that opens a tree in the current window (can't use a popup because I need to be able to use filters), when I click a record on this tree I execute a function, and I would like to go back to the previous form view.
I'm trying to use this in the function:
But it doesn't work, I get the following error:
Uncaught TypeError: Cannot read property '1' of undefined
And besides, I suspect defining the domain, as in here wouldn't allow me to navigate between records, as this one would be the only one in the domain.
Solved using res_id. I don't know why it doesn't appear in OpenERP documentation
The main problem now is that in the header, where it says where I am (history of navigation view) gets longer and longer
So I'd really need to be able to go back instead of adding this view.
I'll raise a new question, as I want to leave the res_id solution available.
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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 10/9/14, 10:43 PM|
|Seen: 2797 times|
|Last updated: 3/16/15, 8:10 AM|