Skip to main content

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

Beta License: AGPL-3 OCA/brand Translate me on Weblate Try me on Runboat

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:

  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

    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. 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 to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • ACSONE SA/NV

Contributors

Other credits

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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.

Current maintainer:

sbejaoui

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

odoo_addon_brand-17.0.1.1.1.5-py3-none-any.whl (100.2 kB view details)

Uploaded Python 3

File details

Details for the file odoo_addon_brand-17.0.1.1.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_brand-17.0.1.1.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 914f5530d83deafc366035085939d66198deb5f2e77cb3399c867755aa4f89f9
MD5 47046f65e12995e554a9ed3cea2284a2
BLAKE2b-256 97cc5880ef686a3d411c60fa4f1d1cc4f06759b2ed39d732e2d460f64f02f9c9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page