Initial commit: Odoo 18.0-20251222 extra-addons
Some checks failed
pre-commit / pre-commit (push) Has been cancelled
tests / Detect unreleased dependencies (push) Has been cancelled
tests / test with OCB (push) Has been cancelled
tests / test with Odoo (push) Has been cancelled

This commit is contained in:
tocmo0nlord
2026-03-13 20:43:25 +00:00
parent 36e847a7df
commit adbe430761
9472 changed files with 1265727 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
- Cédric Pigeon \<<cedric.pigeon@acsone.eu>\>
- Khoi (Kien Kim) \<<khoikk@trobz.com>\>

View File

@@ -0,0 +1,2 @@
The migration of this module from 17.0 to 18.0 was financially supported by:
- Camptocamp.

View File

@@ -0,0 +1,6 @@
This module extends the functionality of company management. It allows
you to bind a technical user on the company in order to use it in batch
processes.
The technical user must - be inactive to avoid login - be in the
required groups depending of what you need to do

View File

@@ -0,0 +1,18 @@
If you install the module, you will find a tab on the company form
allowing to define the technical user.
In your code you can use the following helper that will return you
- a self with the user tech if configured
- or a self with sudo user
``` python
self_tech = self.sudo_tech()
```
If you want to raise an error if the tech user in not configured just
call it with
``` python
self_tech = self.sudo_tech(raise_if_missing)
```