Odoo Ayuda

0

0
1 Answer
0
Avatar

Niyas Raphy

--Niyas Raphy--
22559
| 7 7 11
Calicut, India
--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
2/5/19 20: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

Realizar una pregunta
Writer
Keep Informed
1 seguidor(es)
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