I SOLVED IT. LEAVING THE QUESTION HERE FOR EVERYONE ELSE
Since my custom module depends on fleet, calling the model "chambers.shelves" just breaks how Odoo handles the context and how to display the menu. Changing the name of the model to just "shelves" or even better "fleet.shelves" fixes the problem.
You will have to uninstall your module, restart odoo, reinstall it, and also restart odoo for this to work.
Hi All,
So I have a custom module that adds some custom stuff to the "Fleet" app. I was able to add new menu items to the Fleet app, but when I click the item nothing happens.
The custom module is called "chambers" and the model i'm testing is called "shelves"
Here is my view definition:
<record model="ir.ui.view" id="chambers.shelves_list">
<field name="name">Shelf list</field>
<field name="model">chambers.shelves</field>
<field name="arch" type="xml">
<tree string="Shelves">
<field name="name"/>
</tree>
</field>
</record>
And Here is my window action....
<act_window id="chambers.action_window"
name="Shelves Window"
res_model="chambers.shelves"
view_mode="tree,form"
target="current"
context="{}"
domain="[]"
limit="80"
/>
And here is the menu item that calls the action:
<menuitem name="Shelf List" id="chambers.menu_1_list" parent="fleet.fleet_vehicles"
action="chambers.action_window"/>
The menu item shows up...but clicking it does nothing. No error. It just does nothing at all....
Thanks in advance!