Overslaan naar inhoud
Odoo Menu
  • Aanmelden
  • Probeer het gratis
  • Apps
    Financiën
    • Boekhouding
    • Facturatie
    • Onkosten
    • Spreadsheet (BI)
    • Documenten
    • Ondertekenen
    Verkoop
    • CRM
    • Verkoop
    • Kassasysteem winkel
    • Kassasysteem Restaurant
    • Abonnementen
    • Verhuur
    Websites
    • Websitebouwer
    • E-commerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Bevoorradingsketen
    • Voorraad
    • Productie
    • PLM
    • Inkoop
    • Onderhoud
    • Kwaliteit
    Personeelsbeheer
    • Werknemers
    • Werving & Selectie
    • Verlof
    • Evaluaties
    • Aanbevelingen
    • Wagenpark
    Marketing
    • Social media Marketing
    • E-mailmarketing
    • SMS Marketing
    • Evenementen
    • Marketingautomatisering
    • Enquêtes
    Diensten
    • Project
    • Urenstaten
    • Buitendienst
    • Helpdesk
    • Planning
    • Afspraken
    Productiviteit
    • Chat
    • Goedkeuringen
    • IoT
    • VoIP
    • Kennis
    • WhatsApp
    Apps van derden Odoo Studio Odoo Cloud Platform
  • Bedrijfstakken
    Detailhandel
    • Boekhandel
    • kledingwinkel
    • Meubelzaak
    • Supermarkt
    • Bouwmarkt
    • Speelgoedwinkel
    Food & Hospitality
    • Bar en Pub
    • Restaurant
    • Fastfood
    • Gastenverblijf
    • Drankenhandelaar
    • Hotel
    Vastgoed
    • Makelaarskantoor
    • Architectenbureau
    • Bouw
    • Vastgoedbeheer
    • Tuinieren
    • Vereniging van eigenaren
    Consulting
    • Accountantskantoor
    • Odoo Partner
    • Marketingbureau
    • Advocatenkantoor
    • Talentenwerving
    • Audit & Certificering
    Productie
    • Textiel
    • Metaal
    • Meubels
    • Eten
    • Brewery
    • Relatiegeschenken
    Gezondheid & Fitness
    • Sportclub
    • Opticien
    • Fitnesscentrum
    • Wellness-medewerkers
    • Apotheek
    • Kapper
    Trades
    • Klusjesman
    • IT-hardware & support
    • Zonne-energiesystemen
    • Schoenmaker
    • Schoonmaakdiensten
    • HVAC-diensten
    Andere
    • Non-profitorganisatie
    • Milieuagentschap
    • Verhuur van Billboards
    • Fotograaf
    • Fietsleasing
    • Softwareverkoper
    Browse all Industries
  • Community
    Leren
    • Tutorials
    • Documentatie
    • Certificeringen
    • Training
    • Blog
    • Podcast
    Versterk het onderwijs
    • Onderwijs- programma
    • Scale Up! Business Game
    • Bezoek Odoo
    Download de Software
    • Downloaden
    • Vergelijk edities
    • Releases
    Werk samen
    • Github
    • Forum
    • Evenementen
    • Vertalingen
    • Word een Partner
    • Services for Partners
    • Registreer je accountantskantoor
    Diensten
    • Vind een partner
    • Vind een boekhouder
    • Een adviseur ontmoeten
    • Implementatiediensten
    • Klantreferenties
    • Ondersteuning
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Vraag een demo aan
  • Prijzen
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Boekhouding
  • Voorraad
  • PoS
  • Project
  • MRP
All apps
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Help

Combine menu items of multiple modules

Inschrijven

Ontvang een bericht wanneer er activiteit is op deze post

Deze vraag is gerapporteerd
developmentmenuitem
2 Antwoorden
7669 Weergaven
Avatar
Andrew Crotwell

Edit: Answered! Thanks!

Accomplish:
I want to combine point of sale and inventory menu items into 1 custom module titled "storefront". Then disable the pos and inventory modules from the menu.

Example: 
OpenHRMS 12.0 does this perfectly. They combined all HR modules into 1 module and the menu items of the regular modules are removed from the main menu. Its beautiful.

What i have - errors out when upgrading custom module - this should lead to the main pos dashboard:

<menuitem name="Dashboard" id="action_pos_dash_menu" parent="storefront_root_menu"

              sequence="1" action="point_of_sale.menu_pos_dashboard" groups="base.group_user"/>


How i got this:
I just used the standard method of creating a menuitem however i went to settings > menu items > pos dashboard > view meta data to see get "point_of_sale.menu_pos_dashboard"

0
Avatar
Annuleer
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Beste antwoord

Hi,

If you are looking to replace some existing menus to some other position, like suppose if you want to change the POS Dashboard menu as submenu of the new menu you have created, you can do it like this,

<menuitem id="point_of_sale.menu_pos_dashboard"
action="action_pos_config_kanban"
parent="storefront_root_menu"
name="Dashboard"
sequence="1"/>


Where the ID is the id of the original Dashboard menu in POS, this will make the Dashboard menu under your new menu and will remove the original one from the Point of sale menu.

EIther you can use this way, or you can add a new menu rather than rewriting the existing menu and then you can hide the original menu by adding some groups to menu in which no users are there.


Thanks

2
Avatar
Annuleer
Avatar
Andrew Crotwell
Auteur Beste antwoord

EDIT: I figured it out! Thanks so much! You guys are awesome :)

Hey, Cybrosys, thank you so much for the reply! And thank you for OpenHrms, you guys are amazing! <3 

I'd send this as a comment but i need 1 more karma point to do so. 

Follow up question: So ID = XML ID in metadata. Where do you get the action? Your example has "action_pos_config_kanban". Where can i find that for all other menu items? 

Thanks again! Really! :)

0
Avatar
Annuleer
Cybrosys Techno Solutions Pvt.Ltd

If you activate the developer mode and navigate to settings -> technical -> User interface -> menu items, you can see all the menu there, open the menu and from the lady debugger button you can get the id of the menu from the meta data. From the menu form, you can see its sub menus as well as the action of the form

Andrew Crotwell
Auteur

Okay, final follow up question. I was able to get my module to upgrade and your recommendation works! I figured out how to find the action too! Thanks! However, how can i have 2 menu items leading to the same place? In my example before i had a module called "storefront". Now lets say i have another module called "Distribution". Both storefront and distribution will need the inventory module. Can i do that with this method or will one override the other?

Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!

Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!

Aanmelden
Gerelateerde posts Antwoorden Weergaven Activiteit
Hide Specific Settings Menu Apps Opgelost
development settings menuitem
Avatar
Avatar
1
mrt. 19
7274
Custom Settings Menu Items
development settings menuitem
Avatar
0
mrt. 19
4512
How to make all branches for user active automatically after login his account?
development
Avatar
Avatar
Avatar
3
nov. 25
292
MrpBom _skip_bom_line skips line of product that has two multi-choice attribute values when both are selected in Apply to variant
development
Avatar
Avatar
1
nov. 25
218
How to create a new field have 2 related field by developer mode
development
Avatar
Avatar
2
okt. 25
549
Community
  • Tutorials
  • Documentatie
  • Forum
Open Source
  • Downloaden
  • Github
  • Runbot
  • Vertalingen
Diensten
  • Odoo.sh Hosting
  • Ondersteuning
  • Upgrade
  • Gepersonaliseerde ontwikkelingen
  • Onderwijs
  • Vind een boekhouder
  • Vind een partner
  • Word een Partner
Over ons
  • Ons bedrijf
  • Merkelementen
  • Neem contact met ons op
  • Vacatures
  • Evenementen
  • Podcast
  • Blog
  • Klanten
  • Juridisch • Privacy
  • Beveiliging
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is een suite van open source zakelijke apps die aan al je bedrijfsbehoeften voldoet: CRM, E-commerce, boekhouding, inventaris, kassasysteem, projectbeheer, enz.

Odoo's unieke waardepropositie is om tegelijkertijd zeer gebruiksvriendelijk en volledig geïntegreerd te zijn.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now