Odoo Help

0

0
1 Answer
0
Avatar

Niyas Raphy

--Niyas Raphy--
24479
| 7 7 11
Wayanad, 印度
--Niyas Raphy--

Odoo Techno Functionalist

Feel free to connect :  niyasraphyk@gmail.com

Twitter:https://twitter.com/niyasraphy
LinkedIn: https://www.linkedin.com/in/niyasraphy/
FB:https://www.facebook.com/niyasraphy123

Happy to help :)

Niyas Raphy
2019/5/2 下午8:03

Hi,

If you are looking how to assign the views to each menu, what you have to do is that you have to pass the view_ids in the menu action.


In your menu action,

<field name="view_ids" eval="[(5, 0, 0),
(0, 0, {'view_mode': 'tree', 'view_id': ref('xml.id.of.tree.view')}),
(0, 0, {'view_mode': 'form', 'view_id': ref('ntromedico.historialclinico2_form')})/>


Thanks

Ask a Question
Writer
Keep Informed
1 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 eLearning platform and experience all Odoo Apps through learning videos, use cases and quizzes.

Test it now