Pular para o conteúdo
Odoo Menu
  • Entrar
  • Experimente grátis
  • Aplicativos
    Finanças
    • Financeiro
    • Faturamento
    • Despesas
    • Planilhas (BI)
    • Documentos
    • Assinar Documentos
    Vendas
    • CRM
    • Vendas
    • PDV Loja
    • PDV Restaurantes
    • Assinaturas
    • Locação
    Websites
    • Criador de Sites
    • e-Commerce
    • Blog
    • Fórum
    • Chat ao Vivo
    • e-Learning
    Cadeia de mantimentos
    • Inventário
    • Fabricação
    • PLM - Ciclo de Vida do Produto
    • Compras
    • Manutenção
    • Qualidade
    Recursos Humanos
    • Funcionários
    • Recrutamento
    • Folgas
    • Avaliações
    • Indicações
    • Frota
    Marketing
    • Redes Sociais
    • Marketing por E-mail
    • Marketing por SMS
    • Eventos
    • Automação de Marketing
    • Pesquisas
    Serviços
    • Projeto
    • Planilhas de Horas
    • Serviço de Campo
    • Central de Ajuda
    • Planejamento
    • Compromissos
    Produtividade
    • Mensagens
    • Aprovações
    • Internet das Coisas
    • VoIP
    • Conhecimento
    • WhatsApp
    Aplicativos de terceiros Odoo Studio Plataforma Odoo Cloud
  • Setores
    Varejo
    • Loja de livros
    • Loja de roupas
    • Loja de móveis
    • Mercearia
    • Loja de ferramentas
    • Loja de brinquedos
    Comida e hospitalidade
    • Bar e Pub
    • Restaurante
    • Fast Food
    • Hospedagem
    • Distribuidor de bebidas
    • Hotel
    Imóveis
    • Imobiliária
    • Escritório de arquitetura
    • Construção
    • Administração de propriedades
    • Jardinagem
    • Associação de proprietários de imóveis
    Consultoria
    • Escritório de Contabilidade
    • Parceiro Odoo
    • Agência de marketing
    • Escritório de advocacia
    • Aquisição de talentos
    • Auditoria e Certificação
    Fabricação
    • Têxtil
    • Metal
    • Móveis
    • Alimentação
    • Cervejaria
    • Presentes corporativos
    Saúde e Boa forma
    • Clube esportivo
    • Loja de óculos
    • Academia
    • Profissionais de bem-estar
    • Farmácia
    • Salão de cabeleireiro
    Comércio
    • Handyman
    • Hardware e Suporte de TI
    • Sistemas de energia solar
    • Sapataria
    • Serviços de limpeza
    • Serviços de climatização
    Outros
    • Organização sem fins lucrativos
    • Agência Ambiental
    • Aluguel de outdoors
    • Fotografia
    • Aluguel de bicicletas
    • Revendedor de software
    Navegar por todos os setores
  • Comunidade
    Aprenda
    • Tutoriais
    • Documentação
    • Certificações
    • Treinamento
    • Blog
    • Podcast
    Empodere a Educação
    • Programa de educação
    • Scale Up! Jogo de Negócios
    • Visite a Odoo
    Obtenha o Software
    • Baixar
    • Comparar edições
    • Releases
    Colaborar
    • Github
    • Fórum
    • Eventos
    • Traduções
    • Torne-se um parceiro
    • Serviços para parceiros
    • Cadastre seu escritório contábil
    Obtenha os serviços
    • Encontre um parceiro
    • Encontre um Contador
    • Conheça um consultor
    • Serviços de Implementação
    • Referências de Clientes
    • Suporte
    • Upgrades
    Github YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Faça uma demonstração
  • Preços
  • Ajuda

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

  • CRM
  • e-Commerce
  • Financeiro
  • Inventário
  • PoS
  • Projeto
  • MRP
All apps
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
Ajuda

Combine menu items of multiple modules

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
developmentmenuitem
2 Respostas
7662 Visualizações
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
Cancelar
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Melhor resposta

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
Cancelar
Avatar
Andrew Crotwell
Autor Melhor resposta

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
Cancelar
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
Autor

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?

Está gostando da discussão? Não fique apenas lendo, participe!

Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!

Inscreva-se
Publicações relacionadas Respostas Visualizações Atividade
Hide Specific Settings Menu Apps Resolvido
development settings menuitem
Avatar
Avatar
1
mar. 19
7267
Custom Settings Menu Items
development settings menuitem
Avatar
0
mar. 19
4508
How to make all branches for user active automatically after login his account?
development
Avatar
Avatar
Avatar
3
nov. 25
289
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
211
How to create a new field have 2 related field by developer mode
development
Avatar
Avatar
2
out. 25
546
Comunidade
  • Tutoriais
  • Documentação
  • Fórum
Open Source
  • Baixar
  • Github
  • Runbot
  • Traduções
Serviços
  • Odoo.sh Hosting
  • Suporte
  • Upgrade
  • Desenvolvimentos personalizados
  • Educação
  • Encontre um Contador
  • Encontre um parceiro
  • Torne-se um parceiro
Sobre nós
  • Nossa empresa
  • Ativos da marca
  • Contato
  • Empregos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidade
  • Segurança
الْعَرَبيّة 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 é um conjunto de aplicativos de negócios em código aberto que cobre todas as necessidades de sua empresa: CRM, comércio eletrônico, contabilidade, estoque, ponto de venda, gerenciamento de projetos, etc.

A proposta de valor exclusiva Odoo é ser, ao mesmo tempo, muito fácil de usar e totalmente integrado.

Site feito com

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