Search code examples
viewodoomenuitemodoo-9

Odoo can't add a new menuitem into menu


I am trying to add a new menuitem into purchase menu the same like "Purchase" in the picture below: enter image description here

My openerp.py:

"depends": [
    "purchase",
    "product",
    "base",
],

and view:

    <menuitem id="test" name="Test menu"
        parent="base.menu_purchase_root" sequence="2" />

Nothing happens, no errors and I can't see this menu item in Purchases menu.

What can be the problem?


Solution

  • I think without action or child menu, Odoo won't display your menu.