Odoo Help

0
1
Avatar

Ivan

--Ivan--

3400
| 5 3 7
Jakarta, Indonesia
--Ivan--
Ivan
On 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
On 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',
               }

About This Community

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

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

2 follower(s)

Stats

Asked: 12/12/14, 3:43 AM
Seen: 1537 times
Last updated: 3/16/15, 8:10 AM