DWS Block Activity state change
dws_activities_block_state • Version: 18.0.0.1.0This 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
- Install or update the module in Apps (ensure
mailis active). - 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
unlinkto validate on user ID. - Exempts user named
OdooBotfor 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
dws_activities_block_state • Versie: 18.0.0.1.0Deze 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
- Installeer of update de module in Apps (zorg dat
mailactief is). - 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
unlinkom op gebruikers-ID te valideren. - Uitzondert gebruiker met naam
OdooBott.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
dws_activities_block_state • Wersja: 18.0.0.1.0Ten 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
- Zainstaluj lub zaktualizuj moduł w Aplikacjach (upewnij się, że
mailjest aktywny). - 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ę
unlinkw celu walidacji ID użytkownika. - Wyklucza użytkownika o nazwie
OdooBotdla 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
DWS Block Activity state change
dws_activities_block_state • Version: 18.0.0.1.0This 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
- Install or update the module in Apps (ensure
mailis active). - 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
unlinkto validate on user ID. - Exempts user named
OdooBotfor 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
dws_activities_block_state • Versie: 18.0.0.1.0Deze 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
- Installeer of update de module in Apps (zorg dat
mailactief is). - 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
unlinkom op gebruikers-ID te valideren. - Uitzondert gebruiker met naam
OdooBott.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
dws_activities_block_state • Wersja: 18.0.0.1.0Ten 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
- Zainstaluj lub zaktualizuj moduł w Aplikacjach (upewnij się, że
mailjest aktywny). - 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ę
unlinkw celu walidacji ID użytkownika. - Wyklucza użytkownika o nazwie
OdooBotdla 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