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
Project description
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
Table of contents
Usage
To use this module, you need to:
Go to Settings > General Settings
Select the brand use level
Go to Settings > Users & Companies > Brands
Add a new brand
Install one of branding module (e.g. account_brand)
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:
- Inherit from the res.brand.mixin
class YourModel(models.Model): _name = 'your.model' _inherit = ['your.model', 'res.brand.mixin']
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. for more details.
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
Souheil Bejaoui <souheil.bejaoui@acsone.eu>
Other credits
ACSONE SA/NV <https://www.acsone.eu>
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
This module is part of the OCA/brand project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for odoo12_addon_brand-12.0.1.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e62c2ead0ed5fe6ca1143b119210629ee40a112916e1dbbdeb9d0185880467b |
|
MD5 | 51443be8313023c24180021fa436a7e1 |
|
BLAKE2b-256 | f3d3a10ab4d769bde2591fe580a2ac52dab4144502dd2cc36c08e9f7602dcfd9 |