Overslaan naar inhoud
Portfolio Matthias
  • Startpagina
  • Contact
  • Volg ons
  • Nederlands English (UK) Język polski
  • Aanmelden
Portfolio Matthias
      • Startpagina
      • Contact
    • Volg ons
    • Nederlands English (UK) Język polski
    • Aanmelden

    DWS Block Activity state change

    Category: Activities • Module: dws_activities_block_state • Version: 18.0.0.1.0
    Odoo 18 Mail Activities Security Access Control

    This module blocks the cancellation and completion (deletion) of activities when the logged-in user is not the assigned user of the activity. This prevents users from accidentally or incorrectly completing or cancelling each other's activities.

    Functionality

    • Only the assigned user can cancel or complete an activity.
    • Exception for system user “OdooBot” (system actions remain possible).
    • Clear error message to users without rights.

    Who is this for?

    Organizations that work with activities in Odoo and want to prevent team members from prematurely closing or deleting each other's tasks.

    Compatibility

    • Odoo: 18.0
    • Dependencies: mail

    Installation

    1. Install or update the module in Apps (ensure mail is active).
    2. No configuration required; the rule is effective immediately.

    Usage

    Try to cancel or complete an activity that is not assigned to you. You will receive a message: “You can only cancel or complete activities assigned to you!”

    Technical Notes

    • Inherits from model mail.activity.
    • Overrides method unlink to validate on user ID.
    • Exempts user named OdooBot for system actions.

    Tip: Combine this with standard Odoo access rights to set up additional restrictions.

    License and Author

    License: OPL-1 • Author: Odoologic • Website: Odooligic.nl


    DWS Block Activity state change

    Categorie: Activiteiten • Module: dws_activities_block_state • Versie: 18.0.0.1.0
    Odoo 18 Mail Activiteiten Beveiliging Toegangscontrole

    Deze module blokkeert het annuleren en afronden (verwijderen) van activiteiten wanneer de ingelogde gebruiker niet de toegewezen gebruiker van de activiteit is. Hiermee wordt voorkomen dat gebruikers per ongeluk of onterecht elkaars activiteiten afronden of annuleren.

    Functionaliteit

    • Alleen de toegewezen gebruiker kan een activiteit annuleren of voltooien.
    • Uitzondering voor systeemgebruiker “OdooBot” (systeem-acties blijven mogelijk).
    • Duidelijke foutmelding aan gebruikers zonder rechten.

    Voor wie is dit?

    Organisaties die met activiteiten werken in Odoo en willen voorkomen dat teamleden elkaars taken voortijdig afsluiten of verwijderen.

    Compatibiliteit

    • Odoo: 18.0
    • Afhankelijkheden: mail

    Installatie

    1. Installeer of update de module in Apps (zorg dat mail actief is).
    2. Geen configuratie nodig; de regel is direct van kracht.

    Gebruik

    Probeer een activiteit te annuleren of te voltooien die niet aan jou is toegewezen. Je krijgt dan een melding: “You can only cancel or complete activities assigned to you!”

    Technische notities

    • Erft van model mail.activity.
    • Overschrijft methode unlink om op gebruikers-ID te valideren.
    • Uitzondert gebruiker met naam OdooBot t.b.v. systeem-acties.

    Tip: Combineer dit met standaard Odoo-toegangsrechten om aanvullende beperkingen in te richten.

    Licentie en auteur

    Licentie: OPL-1 • Auteur: Odoologic • Website: Odooligic.nl


    DWS Block Activity state change

    Kategoria: Aktywności • Moduł: dws_activities_block_state • Wersja: 18.0.0.1.0
    Odoo 18 Aktywności Mail Bezpieczeństwo Kontrola dostępu

    Ten moduł blokuje anulowanie i kończenie (usuwanie) aktywności, gdy zalogowany użytkownik nie jest użytkownikiem przypisanym do aktywności. Zapobiega to przypadkowemu lub nieprawidłowemu kończeniu lub anulowaniu aktywności innych osób przez użytkowników.

    Funkcjonalność

    • Tylko przypisany użytkownik może anulować lub zakończyć aktywność.
    • Wyjątek dla użytkownika systemowego „OdooBot” (akcje systemowe pozostają możliwe).
    • Jasny komunikat o błędzie dla użytkowników bez uprawnień.

    Dla kogo to jest?

    Organizacje pracujące z aktywnościami w Odoo, które chcą zapobiec przedwczesnemu zamykaniu lub usuwaniu zadań innych osób przez członków zespołu.

    Kompatybilność

    • Odoo: 18.0
    • Zależności: mail

    Instalacja

    1. Zainstaluj lub zaktualizuj moduł w Aplikacjach (upewnij się, że mail jest aktywny).
    2. Konfiguracja nie jest wymagana; reguła obowiązuje natychmiast.

    Sposób użycia

    Spróbuj anulować lub zakończyć aktywność, która nie jest do Ciebie przypisana. Otrzymasz komunikat: „You can only cancel or complete activities assigned to you!”

    Uwagi techniczne

    • Dziedziczy z modelu mail.activity.
    • Nadpisuje metodę unlink w celu walidacji ID użytkownika.
    • Wyklucza użytkownika o nazwie OdooBot dla akcji systemowych.

    Wskazówka: Połącz to ze standardowymi uprawnieniami dostępu Odoo, aby skonfigurować dodatkowe ograniczenia.

    Licencja i autor

    Licencja: OPL-1 • Autor: Odoologic • Strona internetowa: Odooligic.nl


    Neem contact op

    Matthias de Vries
    Modrzewiowa 45
    55-200 Stanowice 
    Polen

    • +48 798 999 562
    • matthiasek@gmail.com
    Copyright © Bedrijfsnaam
    Nederlands | English (UK) | Język polski
    Aangeboden door Odoo - Maak een gratis website