Odoo Help

0
2 Answers
1
Avatar

Ivan

--Ivan--

3400
| 5 3 7
Jakarta, Indonesia
--Ivan--
Ivan
12/12/14, 5:39 AM

Technically you can't render a tree view.  What you can do is to call ir.actions.windows and let configure the action to call a tree view.  Sample for this can be found in odoo/addons/account_voucher/invoice.py.

1
Anand
12/12/14, 6:31 AM

make our button to do this..

  return  {
                    'type':'ir.actions.act_window',
                    'id':'models_models_actions',
                    'view_mode':'tree',
                    'view_type':'from',
                    'res_model':'models.models',
               }

Ask a Question
Writer
Keep Informed
2 follower(s)
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