Author: | Odoo Community Association (OCA),ACSONE SA/NV |
---|---|
License: | AGPL-3 |
Branch: | 13.0 |
Repository: | Change2improve/brand |
Dependencies: | base, and base_setup |
Languages: | HTML (373, 50.8%), Python (141, 19.2%), XML (141, 19.2%), and reStructuredText (79, 10.8%) |
Other branches: | 12.0 |
Other repositories: | ERPLibre/brand, NeatNerdPrime/brand, NextERP-Romania/brand, OCA/brand, SanteLibre/brand, SeuMarco/brand, Vauxoo/brand, acsone/brand, jguenat/brand, jromeroarg/brand, noorealam96/brand, sanube/brand, ucupers/brand, and ursais/brand |
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
To use this module, you need to:
To make a branded object, you need to:
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.
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.
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.