Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Schvalování
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Jídlo a pohostinství
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Penzion
    • Distributor nápojů
    • Hotel
    Nemovitost
    • Realitní kancelář
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Poradenství
    • Účetní firma
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textil
    • Kov
    • Nábytek
    • Jídlo
    • Pivovar
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Transakce
    • Údržbář
    • Podpora IT & hardware
    • Systémy solární energie
    • Výrobce obuvi
    • Úklidové služby
    • Služby HVAC
    Ostatní
    • Nezisková organizace
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Procházet všechna odvětví
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Služby pro partnery
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

Setting permissions and security on the custom module

Odebírat

Get notified when there's activity on this post

This question has been flagged
modulepermissionsir.model.access
2 Odpovědi
3344 Zobrazení
Avatar
Arif Munandar

hey, all

I want to ask, this is me setting permissions and security on the custom module I created, but I have an error? Like what is the correct security setting on the ir.model.access.csv file so that I can read data from the module's cost using xmlrpc.client

Exception: Payroll-bsd module installation failed: payroll-bsdsecurity/ir.model.access.csv file could not be processed: No matching record found for external id 'model_payroll-bsd_payroll-bsd' in field 'Model' No matching record found for external id 'payroll_insentif_thr.group_user' in field 'Group' No matching record found for external id 'payroll_transport.group_payroll_transport_user' in field 'Group'

Less value required for 'Model' field (model_id)

0
Avatar
Zrušit
Avatar
Niyas Raphy (Walnut Software Solutions)
Nejlepší odpověď

Hi,
The error is related to the model named: payroll-bsd_payroll-bsd


If you have defined the model payroll-bsd_payroll-bsd inside the same module, then in the access rights column in the csv file, you can give its id as model_{model_name} , this is generic syntax and if my model name is sale.order, we have to give model_sale_order and in your case it will be model_payroll-bsd_payroll-bsd

As there is mixed usage of underscore and hiphens in your model name, just ensure it is used and placed correctly.

And if the model that you are looking is not defined in the same module, use external id of the model, for example if the model payroll-bsd_payroll-bsd is defined in a module named custom_payroll then its external id will be custom_payroll.payroll-bsd_payroll-bsd  , this you can give inside the model column and in the depends add the module custom_payroll in the manifest.


Thanks

0
Avatar
Zrušit
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Nejlepší odpověď

Hi,
The errors in the 'ir.model.access.csv' file suggest that there are issues with references to models and groups, either through missing or incorrect entries. Please check with the external ID 'model_payroll-bsd_payroll-bsd' to make sure it corresponds to a valid model in your module. The error was occurring that 'model_payroll-bsd_payroll-bsd' is not defined in your module, so check with the model name. Also, check with the groups mentioned in the 'ir.model.access.csv' filereferences an existing group in your module.
Check the external IDs 'payroll_insentif_thr.group_user' in module payroll_insentif_thr, and 'payroll_transport.group_payroll_transport_user' in the module to 'payroll_transport' and make sure they correspond to valid groups in your module.


Hope it helps

0
Avatar
Zrušit
Enjoying the discussion? Don't just read, join in!

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

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
How to Set Record Permissions in Custom Modules
module field records permissions
Avatar
Avatar
2
úno 24
2264
how can i give anonymous user as a group some permission in odoo? Vyřešeno
permissions
Avatar
Avatar
Avatar
2
bře 25
6573
Error when importing module Product Bidding In ECommerce in odoo 17
module
Avatar
Avatar
1
čvc 24
2571
Missing required value for the field 'Model' (model_id)
module
Avatar
Avatar
1
led 24
6440
View newly installed Module
module
Avatar
Avatar
Avatar
2
bře 23
3502
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة 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 je balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

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