Hey everybody
How exactly do you make new menu items and attach them to the models/views?
I'm looking into writing my own modules and customizing existing ones. The problem is that the little documentation that there is doesn't help me any further.. (for example https://www.odoo.com/documentation/8.0/howtos/backend.html )
Could anybody explain me how to do the following things?
- Make a new menu item in a module
- How to add custom strings to this (for example an item name with the name 'Documents'
- How to add a view to it
- How to customize this view
- ...
I'd really like to know how the flow is and how everything works.
I tried to make a new menu item but I couldn't get anything working.
<record model="ir.actions.act_window" id="an_id_thats_linked_somewhere">
<field name="name">My custom module name</field>
<field name="res_model">ir.attachment</field><
<field name="view_mode">tree,form</field>
</record>
Could anybody explain this some more and give a demo for example? There is by far to little documentation about this..
I'm trying to find out what refers to what and how you connect everything together. I am trying to add a new menu item in the module "Projects" and then show all attachments from all projects.
With kind regards
Yenthe