Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Menu item is not showing in existing module?

Subscriure's

Get notified when there's activity on this post

This question has been flagged
odoo9.0
7 Respostes
31251 Vistes
Avatar
naveen

Hi,

I have created and added one menu item (i.e complaint) to maintenance module,this maintenance module is located in Administrator user.In this administrator user the maintenance module complaint menu item is working..If I create separate user for maintenance module then compalaint manu item is not showing..Here I am not getting any error...Here is the code


<record id="asset_complaint_tree" model="ir.ui.view">

            <field name="name">Asset Complaint</field>

            <field name="model">asset.complaint</field>

            <field name="type">tree</field>

            <field name="arch" type="xml">

                <tree string="Complaints">

                    <field name="asset_id"/>

                    <field name="product_id"/>

                    <field name="no_of_defected_products"/>

                    <field name="state"/>

                </tree>

            </field>

        </record>

  

  <record model="ir.actions.act_window" id="asset_complaint_action">

  <field name="name">Asset Complaint</field>

  <field name="res_model">asset.complaint</field>

  <field name="view_mode">tree,form</field>

  <field name="target">current</field>

  </record>

  

    

 <menuitem id="asset_complaint_menu" name="Complaints" action="asset_complaint_action" parent="asset.menu_maintenance_assets"/>

0
Avatar
Descartar
Sehrish

Create Access Control List for the user from which you are testing.

Sehrish

Look how ACL works: https://goo.gl/4jAhtH

Avatar
Niyas Raphy (Walnut Software Solutions)
Best Answer

Hi Naveen,

You have to give the access right to the menu and models. First you have to add a group to menu like this, group of the employee , you can change it accordingly

<menuitem id="asset_complaint_menu" 
name="Complaints" action="asset_complaint_action" 
parent="asset.menu_maintenance_assets" groups="base.group_user"/>

Then you have to add a csv like this,

id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink 
access_asset_complaint,access.asset.complaint,model_asset_complaint,base.group_user,1,1,1,1

Then this menu can be seen for the other users.

Thanks

9
Avatar
Descartar
naveen
Autor

Thanks Raphy, In that code where I have to add the csv

Niyas Raphy (Walnut Software Solutions)

You can add a folder named security, inside that create a file named "ir.model.access.csv" then add the csv inside it, then specify this in the openerp file like this,`" 'security/ir.model.access.csv',"

naveen
Autor

In that file I have this code: id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink

access_mrp_account_invoice_id,account.invoice,sale_stock.model_account_invoice,mrp.group_mrp_manager,1,0,0,0

naveen
Autor

I added groups to that code and already I have above ir.model.access.csv code. Even I am not able to see the menu item

Niyas Raphy (Walnut Software Solutions)

Activate developer mode, then go settings -> Users -> open the respective user and check whether he is manager in the mrp, if not make him as the manager

Avatar
wizardz
Best Answer

so for every new menuitem you add in odoo, you need to make a security file to declare, that all users can see that?

0
Avatar
Descartar
Perman Atayev (peat)

Rather for every model that is connected to the menu action as far as I understand

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrar-se
Related Posts Respostes Vistes Activitat
Is there any module for manage test cases in odoo?
odoo9.0
Avatar
Avatar
1
de des. 24
7008
How to hide duplicate button inside form view Odoo 9
odoo9.0
Avatar
Avatar
Avatar
Avatar
3
d’ag. 24
7782
how to know the odoo master password? Solved
odoo9.0
Avatar
Avatar
Avatar
Avatar
Avatar
4
de jul. 24
42926
Default value in form view Solved
odoo9.0
Avatar
Avatar
Avatar
Avatar
5
d’abr. 23
101260
odoo 9 theme installed in addson are missing from app Solved
odoo9.0
Avatar
Avatar
Avatar
3
de nov. 22
5259
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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