Define New Menu and Actions in Odoo
HTML-код
- Опубликовано: 31 июл 2024
- How to define new menu and actions in Odoo. Explains how to create new menu, sub menu with actions in Odoo. Also explains how to arrange menu and assign icon image for the Menu.
Covered Topic
1. Creating new menu
2. Defining action for the menu
3. Icon for the menu
4. Sequence of the menu Наука
@Odoo Mates
Hi, do you know how to customize the Odoo menu bar? I wish to add a search box. What is the keyword that I should start research? Many thanks in advance.
I want to disable the default multi-company record rule in Odoo. My question, is it possible to specify a dynamic domain on action to filter the result in tree view like this "user.company_id.id". Thank you
Thank you mates.... it was really helpful to understand.
Our pleasure!
Im trying to create new submenu, when I use action like `hr_recruitment.hr_applicant_action_analysis`, it works fine, but when I add new action as your tutorial, the submenu disappeared. Looked into technical setting submenu, but it looks OK. What's the potential cause here?
Did you set the access rights for the model ? if not set the access rights: ruclips.net/video/W5ya521uTlo/видео.html
But not in all menu items I could use web_icon="storehous,static/description/icon.png"?
Only in the root menu?
yes only for root menu, we need the icon
Perfect tutorial, thanks!
Hope you will suggest the channel to your colleagues .. :)
@@OdooMates Yeah, sure. It's my pleasure.
so helpful .. but i have a question :
i added action to model 'ir.actions.act_window' .. why we use type field in defining action ?
To be frank, not sure, have to cross check, might be to distinguish between the different actions available like server action
hi i want to generate a report from the menu without wizard or new form I created a report and menu but not know how to create action
for my Odoo13 .. it doesn't like that view_type line. It will only let me upgrade the app if I remove it.
Yes you are right, for odoo13, you can check here: ruclips.net/video/0PDqeUG3azo/видео.html
when trying to add menu item to accounting enterprise, it create invoicing menu and do not add the menu to accounting menu, can you explain and support in this?
Did you correctly give parent to the new menu that you add ?
@@OdooMates or was already resolved, thank you
Is it possible to create the menu' completely working with menus? not to write any line of code?
Go to settings, there is a menu with name menu, do it from there after activating the debug mode
@@OdooMates ok good
Thank You.....!
Happy to hear it
how to add parent from non custom module? for example sales module
give sales module in depends(manifest file) and rest is same
excellent explanation , Thanks
Hope you will like the video and subscribe the channel. Thanks
@@OdooMates Yes, Of course
how to add submenu from above main menu ?
Just define the parent menu for the newly creating menu :)
how to configure odoo 12 with python in window 1o Please scribe video tutorial
Thanks a lot sir.
Keep watching and if you have any queries let us know..
@@OdooMates Sure sir. :)
What is the link for the access rights video?
See: ruclips.net/video/W5ya521uTlo/видео.html
In detail, access rights, groups and record rules: ruclips.net/video/mzg3EGD_6Gw/видео.html
i want to know about the menu item shown without superuser can u send me the link
ruclips.net/video/W5ya521uTlo/видео.html
im using this tutorial to learn odoo but i have an issue
now i know i am using odoo-community 13 but it doesnt have ALL THESE DAMN SETTINGS LIKE YOURS.
and your odoo 13 tutorial isnt as expansive as this one.
how did u get those developer buttons and superuser buttons?
There are many changes between odoo12 and odoo13, if you are developing in odoo13, have a look at the odoo13 development playlist, in it its shown the same in this video.
Regarding adding the smart buttons, you can follow same as in odoo12.
ruclips.net/video/0PDqeUG3azo/видео.html
@@OdooMates my version of odoo 13 doesnt have any of these buttons!!!!!!!!!
no super user
no developer
my way around the developer button is adding the debug# to url but ill take a look at that link
@@Kinggenton If you go to settings page and scroll down to bottom you can see the option to activate the debug mode
@@OdooMates i like to thank you for your help man, but the only thing i see in the settings page is Users. IN navbar the only thing i see is users & companies
NOTHING ELSE!!!!
and this IS FRUSTRATING?
cause i followed odoo installation and i believe steps are missing
i am attempting now to use odoo 12(cloning) to see if i get the same SHIT
👍
:)
Hii.. How to add sub menu inside menu item?
its shown in the video, did you get the idea, just set the parent for the menu
gr8
Thanks bro ❤
for whom stuck in xml
note that view_type propriety removed from odoo
Yes, from odoo14: ruclips.net/video/KFXoeEzwxzQ/видео.html
just following this tutorial on odoo15 and you saved hours of searching with just one comment. Thanks bro!