Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

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

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

security /groups structure and explanation with example

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
securitycsvgroupsodoo10.0
1 Răspunde
15949 Vizualizări
Imagine profil
Tushar Donga

i login threw the new use id and password, example as demo and demo but when i login its not showing the my module which i create in addon_custom so i want know how can i set a group for that so can see the view looks like when i work as admin ,

i created security file ,ir.access.csv file,xml for that which is given below which one of my module student

ir.access.csv :-

id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink

demo_admin, student.student,model_studnet_student,student.group_demo,1,1,1,1

demo_group.xml :-

    <record id="group_demo" model="res.groups">

        <field name="name">Personalize student mgmt</field>

        <field name="implied_ids" eval="[(4, ref('base.group_user'))]"/>

        <field name="comment">demo_student</field>

    </record>

so now tell me what chnages i shoud do becuse when i give the group attr to the one of the menu of student_student model is showing external id not found so please explain the what changes i have to do in csv,xml and group attrs value 

thank you in advance

0
Imagine profil
Abandonează
Sehrish

Group and Access Rights in Odoo: https://goo.gl/4jAhtH

Imagine profil
Nikhil Krishnan
Cel mai bun răspuns

Hi Tushar Donga,

Please try this with csv code.

access_demo_admin,student.student.demo.user,student.model_studnet_student,student.group_demo,1,1,1,1 

And also please check the "__manifest__.py" file.

"security_data.xml" file is added or not!

Thanks

2
Imagine profil
Abandonează
Tushar Donga
Autor

hi Nikhil,i added two file in manifest.py file one is csv and second is demo_group.xml file which is shown in my question is there any other file i have to add ? and after changing csv file its still showing error like -

Exception: Module loading student_mgmt failed: file student_mgmt/security/ir.model.access.csv could not be processed:

No matching record found for external id 'student.model_studnet_student' in field 'Object'

Tushar Donga
Autor

hi Nikhil, there is probelm with model id i spelled wrong and second thing is that in group id i only write student as odule name its student_mgmt.group_demo ,thank you

Nikhil Krishnan

ok fine.

Nikhil Krishnan

access_demo_admin,student.student.demo.user,student_mgmt.model_studnet_student,student_mgmt.group_demo,1,1,1,1

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

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

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
Contant create and edit access right
security csv groups access-right record-rules
Imagine profil
1
oct. 24
2053
Security Fear: Make fields of a model secret without using groups attribute
security groups
Imagine profil
0
nov. 15
5712
access rights manual Rezolvat
security groups
Imagine profil
Imagine profil
1
mar. 15
5749
How to display a view with one field removed for certain groups?
security groups
Imagine profil
Imagine profil
1
mar. 15
9261
Permission for a group to edit a single field only? Rezolvat
security v7 groups
Imagine profil
Imagine profil
Imagine profil
Imagine profil
Imagine profil
10
dec. 23
37892
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة 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 este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

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