Overslaan naar inhoud
Odoo Menu
  • Aanmelden
  • Probeer het gratis
  • Apps
    Financiën
    • Boekhouding
    • Facturatie
    • Onkosten
    • Spreadsheet (BI)
    • Documenten
    • Ondertekenen
    Verkoop
    • CRM
    • Verkoop
    • Kassasysteem winkel
    • Kassasysteem Restaurant
    • Abonnementen
    • Verhuur
    Websites
    • Websitebouwer
    • E-commerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Bevoorradingsketen
    • Voorraad
    • Productie
    • PLM
    • Inkoop
    • Onderhoud
    • Kwaliteit
    Personeelsbeheer
    • Werknemers
    • Werving & Selectie
    • Verlof
    • Evaluaties
    • Aanbevelingen
    • Wagenpark
    Marketing
    • Social media Marketing
    • E-mailmarketing
    • SMS Marketing
    • Evenementen
    • Marketingautomatisering
    • Enquêtes
    Diensten
    • Project
    • Urenstaten
    • Buitendienst
    • Helpdesk
    • Planning
    • Afspraken
    Productiviteit
    • Chat
    • Goedkeuringen
    • IoT
    • VoIP
    • Kennis
    • WhatsApp
    Apps van derden Odoo Studio Odoo Cloud Platform
  • Bedrijfstakken
    Detailhandel
    • Boekhandel
    • kledingwinkel
    • Meubelzaak
    • Supermarkt
    • Bouwmarkt
    • Speelgoedwinkel
    Food & Hospitality
    • Bar en Pub
    • Restaurant
    • Fastfood
    • Gastenverblijf
    • Drankenhandelaar
    • Hotel
    Vastgoed
    • Makelaarskantoor
    • Architectenbureau
    • Bouw
    • Vastgoedbeheer
    • Tuinieren
    • Vereniging van eigenaren
    Consulting
    • Accountantskantoor
    • Odoo Partner
    • Marketingbureau
    • Advocatenkantoor
    • Talentenwerving
    • Audit & Certificering
    Productie
    • Textiel
    • Metaal
    • Meubels
    • Eten
    • Brewery
    • Relatiegeschenken
    Gezondheid & Fitness
    • Sportclub
    • Opticien
    • Fitnesscentrum
    • Wellness-medewerkers
    • Apotheek
    • Kapper
    Trades
    • Klusjesman
    • IT-hardware & support
    • Zonne-energiesystemen
    • Schoenmaker
    • Schoonmaakdiensten
    • HVAC-diensten
    Andere
    • Non-profitorganisatie
    • Milieuagentschap
    • Verhuur van Billboards
    • Fotograaf
    • Fietsleasing
    • Softwareverkoper
    Browse all Industries
  • Community
    Leren
    • Tutorials
    • Documentatie
    • Certificeringen
    • Training
    • Blog
    • Podcast
    Versterk het onderwijs
    • Onderwijs- programma
    • Scale Up! Business Game
    • Bezoek Odoo
    Download de Software
    • Downloaden
    • Vergelijk edities
    • Releases
    Werk samen
    • Github
    • Forum
    • Evenementen
    • Vertalingen
    • Word een Partner
    • Services for Partners
    • Registreer je accountantskantoor
    Diensten
    • Vind een partner
    • Vind een boekhouder
    • Een adviseur ontmoeten
    • Implementatiediensten
    • Klantreferenties
    • Ondersteuning
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Vraag een demo aan
  • Prijzen
  • Help

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

  • CRM
  • e-Commerce
  • Boekhouding
  • Voorraad
  • PoS
  • Project
  • MRP
All apps
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Help

Make users see only their invoices

Inschrijven

Ontvang een bericht wanneer er activiteit is op deze post

Deze vraag is gerapporteerd
accountingRules
4 Antwoorden
5583 Weergaven
Avatar
Havishka Halangoda

I want to make the users who are registered as employees, see only their OWN invoices, shared invoices with them created by them, and restrict the rest of the existing invoices that are NOT created by themselves or shared with them.


How can I do this? I've tried by giving security rule but it's still showing. I am using odoo 16. I am using free self hosted version



0
Avatar
Annuleer
Avatar
Maciej Burzymowski
Beste antwoord

Hi Havishka.

You can restrict users to see only their own invoices by setting up record rules. Here’s a general idea of how you can set this up:

  1. Go to Settings: Navigate to the settings menu and then to the technical settings. Under the security tab, you will find the option for Record Rules.
  2. Create a New Record Rule: Click on “Create” to set up a new record rule. Set the object field to “Invoices” or the appropriate model you are working with.
  3. Define the Domain Filter: In the domain field, define the domain filter to restrict the invoices. The domain should ensure that only the invoices belonging to the current user are visible. For example, you can use the create_uid field to filter invoices based on the current user. The domain filter could look something like this: [('create_uid', '=', user.id)].
  4. Apply the Rule to the Appropriate User Groups: In the groups field of the record rule form, select the user groups to which this rule should apply.

Hope it helps somehow.


0
Avatar
Annuleer
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Beste antwoord

Hi,

You can set record rules to achieve thisexample:In the below image you can see all the invoices


Now lets try to add record rules
1) Settings -> Technical -> Security -> Record rulesCreate new rule


choose the model journal entry(account.move)and domain filter ['|', ('user_id', '=', user.id), ('create_uid', '=', user.id)] 2) Open invoicesNow you can see that the record rule is applied for the invoices


You can change the domain filter  accordingly


Hope it helps

0
Avatar
Annuleer
Chris TRINGHAM

This is a global rule that will apply to all users for all journals. That will work, but it seems very restrictive!

Avatar
Chris TRINGHAM
Beste antwoord

If you have the sales app installed, there are two Record Rules that grant access to:

  1. All invoices and credit notes for the group Sales / All Documents
  2. Sales / Own Documents Only can only see their own invoices and credit notes

If you want to limit access for all sales users you can adapt these Record Rules (as described here).

Also:

  • If these users are members of the Invoicing / Billing group they will have access to all Journal Entries, including sales invoices.
  • There is also a technical group Show Accounting Features - Read Only that would grant Read access to all Journal Entries

Adding a new (non-global) Record Rule can never limit access, so you have to check what other Rules apply and make changes either to the Rule or the user profile.

0
Avatar
Annuleer
Avatar
Fareed
Beste antwoord


Try this users can see the entries created by him..\

['|', ('user_id', '=', user.id), ('create_uid', '=', user.id)]

0
Avatar
Annuleer
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!

Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!

Aanmelden
Gerelateerde posts Antwoorden Weergaven Activiteit
Issue after upgrading from Odoo 18 to Odoo 19. - مشكلة بعد الترقية من Odoo 18 إلى Odoo 19.
accounting
Avatar
0
nov. 25
4
I found a small typo in the Odoo 19 Chart of Accounts — and it made my day 😆 Opgelost
accounting
Avatar
Avatar
Avatar
2
nov. 25
300
Invoice-Digitize-Individual Line Items
accounting
Avatar
Avatar
1
nov. 25
472
How can I manipulate the email template when sending an email in Accounting so that my PDF with the XML is inserted instead of the standard view with XML?
accounting
Avatar
Avatar
1
nov. 25
346
PDF facture de vente s'imprime trop large
accounting
Avatar
Avatar
1
nov. 25
397
Community
  • Tutorials
  • Documentatie
  • Forum
Open Source
  • Downloaden
  • Github
  • Runbot
  • Vertalingen
Diensten
  • Odoo.sh Hosting
  • Ondersteuning
  • Upgrade
  • Gepersonaliseerde ontwikkelingen
  • Onderwijs
  • Vind een boekhouder
  • Vind een partner
  • Word een Partner
Over ons
  • Ons bedrijf
  • Merkelementen
  • Neem contact met ons op
  • Vacatures
  • Evenementen
  • Podcast
  • Blog
  • Klanten
  • Juridisch • Privacy
  • Beveiliging
الْعَرَبيّة 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 is een suite van open source zakelijke apps die aan al je bedrijfsbehoeften voldoet: CRM, E-commerce, boekhouding, inventaris, kassasysteem, projectbeheer, enz.

Odoo's unieke waardepropositie is om tegelijkertijd zeer gebruiksvriendelijk en volledig geïntegreerd te zijn.

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