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
    • Sociale 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

Custom Menu Inherited from om_hr_payroll Not Appearing in Odoo 17

Inschrijven

Ontvang een bericht wanneer er activiteit is op deze post

Deze vraag is gerapporteerd
menuitemexcelreport_xlsInheritodoo17CE
3 Antwoorden
3009 Weergaven
Avatar
Amouzou Koffi Jacques

Hello everyone,

I am trying to create a custom menu in Odoo 17, but despite multiple attempts, the menu does not appear in the interface. The menu I am creating is supposed to inherit from the om_hr_payroll module. Below are the details of my implementation:

  • The associated form view for the report.wizard model is defined like this:
<odoo>    
<record id="view_report_form" model="ir.ui.view">       
<field name="name">report.form</field>       
<field name="model">report.wizard</field>       
<field name="arch" type="xml">           
<form string="Générer Rapport">               
<group>                   
<field name="date_start"/>                   
<field name="date_end"/>               
</group>               
<footer>                   
<button string="Générer" type="object" name="generate_report" class="btn-primary"/>                   
<button string="Annuler" class="btn-secondary" special="cancel"/>          </footer>           
</form>       
</field>   
</record>
</odoo>
  • The action_report_excel is defined as follows:
 <record id="action_report_excel" model="ir.actions.act_window">                           
<field name="name">Rapport en Excel</field>       
<field name="res_model">report.wizard</field>       
<field name="view_mode">form</field>       
<field name="view_id" ref="view_report_form"/>       
<field name="target">new</field>   
</record>
  • I created a new menu item in my XML file as follows:
<odoo>
  <menuitem id="menu_custom_payroll" name="Rapport" parent="om_hr_payroll.menu_hr_payroll_root"/>   
<menuitem id="menu_report_excel" name="Rapport en Excel" parent="menu_custom_payroll" action="action_report_excel" sequence="50"/>
</odoo>


  1. I've updated the module, restarted Odoo, and activated developer mode.
  2. Checked the logs but found no critical error message.

Additional Information:

The new menu and sub-menu are supposed to inherit from the om_hr_payroll module under the root menu_hr_payroll_root. Despite following the steps above, the menu and sub-menu still do not appear.

What could be causing the menu not to display? Am I missing something in the configuration or setup? Any advice or pointers would be greatly appreciated!

0
Avatar
Annuleer
Avatar
Niyas Raphy (Walnut Software Solutions)
Beste antwoord

Hi,
Ensure menu record is created in the ir.ui.menu model and ensure an action is linked with the menu. If there is no action linked with menu the menu wont be shown in the UI, also ensure no user groups is assigned to the menu, if there is, ensure logged in user is part of the group. 


And of-course ensure all the files are imported in manifest and service is restarted

See:  https://www.youtube.com/watch?v=y8USDEpQvPM

Thanks

1
Avatar
Annuleer
Avatar
Milin
Beste antwoord

Please check whether you have loaded the xml in manifest or not.

Also check it the menu is created in odoo by going in to the Menu Items master in odoo.

1
Avatar
Annuleer
Avatar
Amouzou Koffi Jacques
Auteur Beste antwoord

Ok thank you. The xml file is loaded on manifest. I will chech if the menu is on odoo techinical interface

0
Avatar
Annuleer
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
take report document in reporting_xlsx from OCA
reporting excel report_xls oca odoo9.0
Avatar
0
nov. 16
4489
Odoo Community V17
odoo17CE
Avatar
Avatar
Avatar
2
jul. 25
3074
Acounting and, Repporting tabs are missing to my accounting module, How to display them? Opgelost
odoo17CE
Avatar
Avatar
1
mrt. 25
2223
ReferenceError: ComboConfiguratorPopup is not defined
odoo17CE
Avatar
Avatar
1
dec. 24
2000
how to override tools.mail.email_normalize
odoo17CE
Avatar
Avatar
1
dec. 24
2559
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