Skip to Content
Odoo Menu
  • Zaloguj się
  • Wypróbuj za darmo
  • Aplikacje
    Finanse
    • Księgowość
    • Fakturowanie
    • Wydatki
    • Arkusz kalkulacyjny (BI)
    • Dokumenty
    • Podpisy
    Sprzedaż
    • CRM
    • Sprzedaż
    • PoS Sklep
    • PoS Restauracja
    • Subskrypcje
    • Wypożyczalnia
    Strony Internetowe
    • Kreator Stron Internetowych
    • eCommerce
    • Blog
    • Forum
    • Czat na Żywo
    • eLearning
    Łańcuch dostaw
    • Magazyn
    • Produkcja
    • PLM
    • Zakupy
    • Konserwacja
    • Jakość
    Zasoby Ludzkie
    • Pracownicy
    • Rekrutacja
    • Urlopy
    • Ocena pracy
    • Polecenia Pracownicze
    • Flota
    Marketing
    • Marketing Społecznościowy
    • E-mail Marketing
    • SMS Marketing
    • Wydarzenia
    • Automatyzacja Marketingu
    • Ankiety
    Usługi
    • Projekt
    • Ewidencja czasu pracy
    • Usługi Terenowe
    • Helpdesk
    • Planowanie
    • Spotkania
    Produktywność
    • Dyskusje
    • Zatwierdzenia
    • IoT
    • VoIP
    • Baza wiedzy
    • WhatsApp
    Aplikacje trzecich stron Studio Odoo Odoo Cloud Platform
  • Branże
    Sprzedaż detaliczna
    • Księgarnia
    • Sklep odzieżowy
    • Sklep meblowy
    • Sklep spożywczy
    • Sklep z narzędziami
    • Sklep z zabawkami
    Żywienie i hotelarstwo
    • Bar i Pub
    • Restauracja
    • Fast Food
    • Pensjonat
    • Dystrybutor napojów
    • Hotel
    Agencja nieruchomości
    • Agencja nieruchomości
    • Biuro architektoniczne
    • Budowa
    • Zarządzanie nieruchomościami
    • Ogrodnictwo
    • Stowarzyszenie właścicieli nieruchomości
    Doradztwo
    • Biuro księgowe
    • Partner Odoo
    • Agencja marketingowa
    • Kancelaria prawna
    • Agencja rekrutacyjna
    • Audyt i certyfikacja
    Produkcja
    • Tekstylia
    • Metal
    • Meble
    • Jedzenie
    • Browar
    • Prezenty firmowe
    Zdrowie & Fitness
    • Klub sportowy
    • Salon optyczny
    • Centrum fitness
    • Praktycy Wellness
    • Apteka
    • Salon fryzjerski
    Transakcje
    • Złota rączka
    • Wsparcie Sprzętu IT
    • Systemy energii słonecznej
    • Szewc
    • Firma sprzątająca
    • Usługi HVAC
    Inne
    • Organizacja non-profit
    • Agencja Środowiskowa
    • Wynajem billboardów
    • Fotografia
    • Leasing rowerów
    • Sprzedawca oprogramowania
    Przeglądaj wszystkie branże
  • Community
    Ucz się
    • Samouczki
    • Dokumentacja
    • Certyfikacje
    • Szkolenie
    • Blog
    • Podcast
    Pomóż w nauce innym
    • Program Edukacyjny
    • Scale Up! Gra biznesowa
    • Odwiedź Odoo
    Skorzystaj z oprogramowania
    • Pobierz
    • Porównaj edycje
    • Wydania
    Współpracuj
    • Github
    • Forum
    • Wydarzenia
    • Tłumaczenia
    • Zostań partnerem
    • Usługi dla partnerów
    • Zarejestruj swoją firmę rachunkową
    Skorzystaj z usług
    • Znajdź partnera
    • Znajdź księgowego
    • Spotkaj się z doradcą
    • Usługi wdrożenia
    • Opinie klientów
    • Wsparcie
    • Aktualizacje
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Zaplanuj demo
  • Cennik
  • Pomoc

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

  • CRM
  • e-Commerce
  • Księgowość
  • Zapasy
  • PoS
  • Projekt
  • MRP
All apps
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Pomoc

Custom Menu Inherited from om_hr_payroll Not Appearing in Odoo 17

Zaprenumeruj

Otrzymaj powiadomienie o aktywności w tym poście

To pytanie dostało ostrzeżenie
menuitemexcelreport_xlsInheritodoo17CE
3 Odpowiedzi
3012 Widoki
Awatar
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
Awatar
Odrzuć
Awatar
Niyas Raphy (Walnut Software Solutions)
Najlepsza odpowiedź

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
Awatar
Odrzuć
Awatar
Milin
Najlepsza odpowiedź

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
Awatar
Odrzuć
Awatar
Amouzou Koffi Jacques
Autor Najlepsza odpowiedź

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

0
Awatar
Odrzuć
Podoba Ci się ta dyskusja? Dołącz do niej!

Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!

Zarejestruj się
Powiązane posty Odpowiedzi Widoki Czynność
take report document in reporting_xlsx from OCA
reporting excel report_xls oca odoo9.0
Awatar
0
lis 16
4489
Odoo Community V17
odoo17CE
Awatar
Awatar
Awatar
2
lip 25
3075
Acounting and, Repporting tabs are missing to my accounting module, How to display them? Rozwiązane
odoo17CE
Awatar
Awatar
1
mar 25
2224
ReferenceError: ComboConfiguratorPopup is not defined
odoo17CE
Awatar
Awatar
1
gru 24
2000
how to override tools.mail.email_normalize
odoo17CE
Awatar
Awatar
1
gru 24
2559
Społeczność
  • Samouczki
  • Dokumentacja
  • Forum
Open Source
  • Pobierz
  • Github
  • Runbot
  • Tłumaczenia
Usługi
  • Hosting Odoo.sh
  • Wsparcie
  • Aktualizacja
  • Indywidualne rozwiązania
  • Edukacja
  • Znajdź księgowego
  • Znajdź partnera
  • Zostań partnerem
O nas
  • Nasza firma
  • Zasoby marki
  • Skontaktuj się z nami
  • Oferty pracy
  • Wydarzenia
  • Podcast
  • Blog
  • Klienci
  • Informacje prawne • Prywatność
  • Bezpieczeństwo Odoo
الْعَرَبيّة 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 to pakiet aplikacji biznesowych typu open source, które zaspokoją wszystkie potrzeby Twojej firmy: CRM, eCommerce, księgowość, inwentaryzacja, punkt sprzedaży, zarządzanie projektami itp.

Unikalną wartością Odoo jest to, że jest jednocześnie bardzo łatwe w użyciu i w pełni zintegrowane.

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