Search 1.9 billion lines of Odoo code on GitHub

brand

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, 14.0, 15.0, and 16.0
Other repositories: AntoniRomera/brand, ERPLibre/brand, Gabinete-Digital/brand, Ingeos/brand, Jarsa/brand, MathBenTech/brand, NeatNerdPrime/brand, NextERP-Romania/brand, OCA-MUK/brand, OCA/brand, SanteLibre/brand, SeuMarco/brand, Vauxoo/brand, acsone/brand, cubells/brand, jacky82669513/brand, jguenat/brand, jromeroarg/brand, lideritjnma/brand, noorealam96/brand, sanube/brand, ucupers/brand, ursais/brand, valmarnet/brand, and zeroheure/brand

<h1 class="title">Brand</h1> <p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/brand/tree/13.0/brand"><img alt="OCA/brand" src="https://img.shields.io/badge/github-OCA%2Fbrand-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/brand-13-0/brand-13-0-brand"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/284/13.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p>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.</p> <p><strong>Table of contents</strong></p> <div class="contents local topic" id="contents"> <ul class="simple"> <li><a class="reference internal" href="#usage" id="id1">Usage</a></li> <li><a class="reference internal" href="#bug-tracker" id="id2">Bug Tracker</a></li> <li><a class="reference internal" href="#credits" id="id3">Credits</a><ul> <li><a class="reference internal" href="#authors" id="id4">Authors</a></li> <li><a class="reference internal" href="#contributors" id="id5">Contributors</a></li> <li><a class="reference internal" href="#other-credits" id="id6">Other credits</a></li> <li><a class="reference internal" href="#maintainers" id="id7">Maintainers</a></li> </ul> </li> </ul> </div> <a name="usage"></a> <h2><a class="toc-backref" href="#id1">Usage</a></h2> <p>To use this module, you need to:</p> <ol class="arabic simple"> <li>Go to Settings &gt; General Settings</li> <li>Select the brand use level</li> <li>Go to Settings &gt; Users &amp; Companies &gt; Brands</li> <li>Add a new brand</li> <li>Install one of branding module (e.g. account_brand)</li> <li>Based on your choice for the brand use level, you will see a new field added to the branded object</li> </ol> <p>To make a branded object, you need to:</p> <ol class="arabic"> <li><dl class="first docutils"> <dt>Inherit from the <cite>res.brand.mixin</cite></dt> <dd><pre> <code lang="python">class YourModel(models.Model): _name = 'your.model' _inherit = ['your.model', 'res.brand.mixin']</code> </pre> </dd> </dl> </li> <li><p class="first">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.</p> </li> </ol> <p>You can refer to the <a class="reference external" href="https://github.com/OCA/brand/blob/12.0/account_brand">account_brand</a>. for more details.</p> <a name="bug-tracker"></a> <h2><a class="toc-backref" href="#id2">Bug Tracker</a></h2> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/brand/issues">GitHub Issues</a>. 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 <a class="reference external" href="https://github.com/OCA/brand/issues/new?body=module:%20brand%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> <p>Do not contact contributors directly about support or help with technical issues.</p> <a name="credits"></a> <h2><a class="toc-backref" href="#id3">Credits</a></h2> <a name="authors"></a> <h3><a class="toc-backref" href="#id4">Authors</a></h3> <ul class="simple"> <li>ACSONE SA/NV</li> </ul> <a name="contributors"></a> <h3><a class="toc-backref" href="#id5">Contributors</a></h3> <ul class="simple"> <li>Souheil Bejaoui &lt;<a class="reference external" href="mailto:souheil.bejaoui&#64;acsone.eu">souheil.bejaoui&#64;acsone.eu</a>&gt;</li> <li><a class="reference external" href="https://www.obertix.net">Obertix</a>:<ul> <li>Vicent Cubells</li> </ul> </li> </ul> <a name="other-credits"></a> <h3><a class="toc-backref" href="#id6">Other credits</a></h3> <ul class="simple"> <li>ACSONE SA/NV &lt;<a class="reference external" href="https://www.acsone.eu">https://www.acsone.eu</a>&gt;</li> </ul> <a name="maintainers"></a> <h3><a class="toc-backref" href="#id7">Maintainers</a></h3> <p>This module is maintained by the OCA.</p> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>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.</p> <p>This module is part of the <a class="reference external" href="https://github.com/OCA/brand/tree/13.0/brand">OCA/brand</a> project on GitHub.</p> <p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>