Reputation: 691
I'm learning odoo 10 development with odooclass and I am blocked at the submenu creation step. Here my piece of code from the addon views.xml:
<record model="ir.actions.act_window" id="dmsapp.action_window_vehicles" >
<field name="name">Vehicles</field>
<field name="res_model">dmsapp.vehicle</field>
<field name="view_mode">tree,form</field>
</record>
<menuitem name="Vehicles" id="dmsapp.menu_vehicles" parent="sales_team.menu_sales"
action="dmsapp.action_window_vehicles"/>
The menu never appears but I can see it in the list of all sales menu items (developper>parameters>UI>menu) near product, customers, quotation...
I had rerun odoo, refresh web browser, clear cach and cookies, try to put groups acess, change sequence but the menu never appears. I am logged as Administrator.
Thanks for help.
Upvotes: 1
Views: 920
Reputation: 691
This probably solves odoo caching problem: update your module/app. If it doesn't work uninstall and reinstall it.
Upvotes: 0
Reputation: 664
Give access right of showing menu of Sales Team from res_users and rerun again.
Upvotes: 0
Reputation: 691
I remove Shan Abdiel and vijay suggestions, rerun and it appears now. It's really a mystery. Does odoo-bin keep a sort of cache of generated html or other trick tike that? Is there a way to fully clear it? Is it possible that this problem come with liclipse ? I notice that I remove all terminal launches before it worked. But I already did that yesterday...
Upvotes: 0
Reputation: 108
try change this parent="sales_team.menu_sales"
into this
parent="sales_team.menu_base_partner"
hope this help
Upvotes: 1