Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de bienes inmuebles
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Odoo Community
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyectos
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

Custom Menu Inherited from om_hr_payroll Not Appearing in Odoo 17

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
menuitemexcelreport_xlsInheritodoo17CE
3 Respuestas
3008 Vistas
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
Descartar
Avatar
Niyas Raphy (Walnut Software Solutions)
Mejor respuesta

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
Descartar
Avatar
Milin
Mejor respuesta

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
Descartar
Avatar
Amouzou Koffi Jacques
Autor Mejor respuesta

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

0
Avatar
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
take report document in reporting_xlsx from OCA
reporting excel report_xls oca odoo9.0
Avatar
0
nov 16
4478
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? Resuelto
odoo17CE
Avatar
Avatar
1
mar 25
2222
ReferenceError: ComboConfiguratorPopup is not defined
odoo17CE
Avatar
Avatar
1
dic 24
1999
how to override tools.mail.email_normalize
odoo17CE
Avatar
Avatar
1
dic 24
2558
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y estar totalmente integrado.

Sitio web hecho con

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