Hi all,
I have a problem. I want to bring Configurations menuitem and all child item in Settings menuitem to my modules automatically. Image: i.stack.imgur.com/Ljfzu.jpg (sorry i cant post image)
Sorry for my bad English. Thank all
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi all,
I have a problem. I want to bring Configurations menuitem and all child item in Settings menuitem to my modules automatically. Image: i.stack.imgur.com/Ljfzu.jpg (sorry i cant post image)
Sorry for my bad English. Thank all
Hi,
If you want Configuration menu under Setting module of your module than you can do something like below:
<menuitem name="Settings" id="menu_settings" parent="parent_menu"/>
<menuitem id="base.menu_config" name="Configuration" parent="menu_settings" sequence="1"/>
base module should be in dependency of your custom module. You just need to rewrite the menuitem using same id by replacing the parent menu.
Hope this may help you.
It's worked. Thanks a lot for your answer, but i still keep configuration menu in settings menu, can you help me again
Remove the provided code from your custom module. Then either modify the parent menu from UI (menu: Settings/Technical Settings/User Interface/Menu Items) by searching that specific menu. Or you can upgrade the base module(Settings/Modules/Installed modules).
OK. Thank you very much!
you inherit 'res.config.settings' module from base and write a view and menu item under the settings menu. for example you can see the purchase module res_config.py an res_config_view.xml.
https://www.youtube.com/watch?v=MsVoYPQ4-J4