Skip to Content
Odoo Menu
  • Zaloguj się
  • Wypróbuj za darmo
  • Aplikacje
    Finanse
    • Księgowość
    • Fakturowanie
    • Wydatki
    • Arkusz kalkulacyjny (BI)
    • Dokumenty
    • Podpisy
    Sprzedaż
    • CRM
    • Sprzedaż
    • PoS Sklep
    • PoS Restauracja
    • Subskrypcje
    • Wypożyczalnia
    Strony Internetowe
    • Kreator Stron Internetowych
    • eCommerce
    • Blog
    • Forum
    • Czat na Żywo
    • eLearning
    Łańcuch dostaw
    • Magazyn
    • Produkcja
    • PLM
    • Zakupy
    • Konserwacja
    • Jakość
    Zasoby Ludzkie
    • Pracownicy
    • Rekrutacja
    • Urlopy
    • Ocena pracy
    • Polecenia Pracownicze
    • Flota
    Marketing
    • Marketing Społecznościowy
    • E-mail Marketing
    • SMS Marketing
    • Wydarzenia
    • Automatyzacja Marketingu
    • Ankiety
    Usługi
    • Projekt
    • Ewidencja czasu pracy
    • Usługi Terenowe
    • Helpdesk
    • Planowanie
    • Spotkania
    Produktywność
    • Dyskusje
    • Zatwierdzenia
    • IoT
    • VoIP
    • Baza wiedzy
    • WhatsApp
    Aplikacje trzecich stron Studio Odoo Odoo Cloud Platform
  • Branże
    Sprzedaż detaliczna
    • Księgarnia
    • Sklep odzieżowy
    • Sklep meblowy
    • Sklep spożywczy
    • Sklep z narzędziami
    • Sklep z zabawkami
    Żywienie i hotelarstwo
    • Bar i Pub
    • Restauracja
    • Fast Food
    • Pensjonat
    • Dystrybutor napojów
    • Hotel
    Agencja nieruchomości
    • Agencja nieruchomości
    • Biuro architektoniczne
    • Budowa
    • Zarządzanie nieruchomościami
    • Ogrodnictwo
    • Stowarzyszenie właścicieli nieruchomości
    Doradztwo
    • Biuro księgowe
    • Partner Odoo
    • Agencja marketingowa
    • Kancelaria prawna
    • Agencja rekrutacyjna
    • Audyt i certyfikacja
    Produkcja
    • Tekstylia
    • Metal
    • Meble
    • Jedzenie
    • Browar
    • Prezenty firmowe
    Zdrowie & Fitness
    • Klub sportowy
    • Salon optyczny
    • Centrum fitness
    • Praktycy Wellness
    • Apteka
    • Salon fryzjerski
    Transakcje
    • Złota rączka
    • Wsparcie Sprzętu IT
    • Systemy energii słonecznej
    • Szewc
    • Firma sprzątająca
    • Usługi HVAC
    Inne
    • Organizacja non-profit
    • Agencja Środowiskowa
    • Wynajem billboardów
    • Fotografia
    • Leasing rowerów
    • Sprzedawca oprogramowania
    Przeglądaj wszystkie branże
  • Community
    Ucz się
    • Samouczki
    • Dokumentacja
    • Certyfikacje
    • Szkolenie
    • Blog
    • Podcast
    Pomóż w nauce innym
    • Program Edukacyjny
    • Scale Up! Gra biznesowa
    • Odwiedź Odoo
    Skorzystaj z oprogramowania
    • Pobierz
    • Porównaj edycje
    • Wydania
    Współpracuj
    • Github
    • Forum
    • Wydarzenia
    • Tłumaczenia
    • Zostań partnerem
    • Usługi dla partnerów
    • Zarejestruj swoją firmę rachunkową
    Skorzystaj z usług
    • Znajdź partnera
    • Znajdź księgowego
    • Spotkaj się z doradcą
    • Usługi wdrożenia
    • Opinie klientów
    • Wsparcie
    • Aktualizacje
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Zaplanuj demo
  • Cennik
  • Pomoc

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

  • CRM
  • e-Commerce
  • Księgowość
  • Zapasy
  • PoS
  • Projekt
  • MRP
All apps
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Pomoc

Make users see only their invoices

Zaprenumeruj

Otrzymaj powiadomienie o aktywności w tym poście

To pytanie dostało ostrzeżenie
accountingRules
4 Odpowiedzi
5590 Widoki
Awatar
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
Awatar
Odrzuć
Awatar
Maciej Burzymowski
Najlepsza odpowiedź

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
Awatar
Odrzuć
Awatar
Cybrosys Techno Solutions Pvt.Ltd
Najlepsza odpowiedź

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
Awatar
Odrzuć
Chris TRINGHAM

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

Awatar
Chris TRINGHAM
Najlepsza odpowiedź

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
Awatar
Odrzuć
Awatar
Fareed
Najlepsza odpowiedź


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

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

0
Awatar
Odrzuć
Podoba Ci się ta dyskusja? Dołącz do niej!

Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!

Zarejestruj się
Powiązane posty Odpowiedzi Widoki Czynność
After Odoo 18 to Odoo 19 upgrade - how do I manage Bills for products that already posted to the interim account? - مشكلة بعد الترقية من Odoo 18 إلى Odoo 19.
accounting
Awatar
0
lis 25
152
I found a small typo in the Odoo 19 Chart of Accounts — and it made my day 😆 Rozwiązane
accounting
Awatar
Awatar
Awatar
2
lis 25
323
Invoice-Digitize-Individual Line Items
accounting
Awatar
Awatar
1
lis 25
484
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
Awatar
Awatar
1
lis 25
356
PDF facture de vente s'imprime trop large
accounting
Awatar
Awatar
1
lis 25
405
Społeczność
  • Samouczki
  • Dokumentacja
  • Forum
Open Source
  • Pobierz
  • Github
  • Runbot
  • Tłumaczenia
Usługi
  • Hosting Odoo.sh
  • Wsparcie
  • Aktualizacja
  • Indywidualne rozwiązania
  • Edukacja
  • Znajdź księgowego
  • Znajdź partnera
  • Zostań partnerem
O nas
  • Nasza firma
  • Zasoby marki
  • Skontaktuj się z nami
  • Oferty pracy
  • Wydarzenia
  • Podcast
  • Blog
  • Klienci
  • Informacje prawne • Prywatność
  • Bezpieczeństwo Odoo
الْعَرَبيّة 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 to pakiet aplikacji biznesowych typu open source, które zaspokoją wszystkie potrzeby Twojej firmy: CRM, eCommerce, księgowość, inwentaryzacja, punkt sprzedaży, zarządzanie projektami itp.

Unikalną wartością Odoo jest to, że jest jednocześnie bardzo łatwe w użyciu i w pełni zintegrowane.

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