Initial commit: OCA Technical packages (595 packages)

This commit is contained in:
Ernad Husremovic 2025-08-29 15:43:03 +02:00
commit 2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions

View file

@ -0,0 +1,4 @@
- Souheil Bejaoui \<<souheil.bejaoui@acsone.eu>\>
- [Obertix](https://www.obertix.net):
- Vicent Cubells
- Ammar Officewala \<<aofficewala@opensourceintegrators.com>\>

View file

@ -0,0 +1 @@
- ACSONE SA/NV \<<https://www.acsone.eu>\>

View file

@ -0,0 +1,2 @@
This is a base addon for brand modules. It adds the brand object and its
menu and define an abstract model to be inherited from branded objects.

View file

@ -0,0 +1,27 @@
To use this module, you need to:
1. Go to Settings \> General Settings
2. Select the brand use level
3. Go to Settings \> Users & Companies \> Brands
4. Add a new brand
5. Install one of branding module (e.g. account_brand)
6. Based on your choice for the brand use level, you will see a new
field added to the branded object
To make a branded object, you need to:
1. Inherit from the res.brand.mixin
``` python
class YourModel(models.Model):
_name = 'your.model'
_inherit = ['your.model', 'res.brand.mixin']
```
2. Add the brand field to the object form or tree view. The mixin will
add the brand use level field automatically to the view and set the
modifiers to the brand field. This will define its visibility and if
it's required or not.
You can refer to the
[account_brand](https://github.com/OCA/brand/blob/18.0/account_brand).
for more details.