Search 1.9 billion lines of Odoo code on GitHub

web_relational_enhancer

Author: Michele Zaccheddu - LevelPrime Srl, Odoo Community Association (OCA)
License: no license
Branch: 10.0_ADD_web_relational_enhancer
Repository: LevelPrime/web
Dependencies: base, and web
Languages: JavaScript (256, 92.8%), Python (11, 4.0%), and XML (9, 3.3%)

<a class="reference external image-reference" href="https://www.gnu.org/licenses/lgpl-3.0"><img alt="License: LGPL-3" src="https://img.shields.io/badge/License-LGPL%20v3-blue.png" /></a> <a name="web-relational-enhancer"></a> <h2>Web Relational Enhancer</h2> <p>This module allow to add information to the 'display_name' on many2one/many2many dropdowns and many2many tags.</p> <a name="installation"></a> <h3>Installation</h3> <p>To install this module, just follow basic steps to install an odoo module.</p> <a name="configuration"></a> <h3>Configuration</h3> <p>Not needed.</p> <a name="usage"></a> <h3>Usage</h3> <p>First add the dependency in your module manifest, then:</p> <a name="usage-for-o2m"></a> <h4>Usage for O2m:</h4> <pre> <code>&lt;field name='&lt;your field name&gt;' widget='many2many_tags' options='{ &quot;display_fields&quot;: &quot;name,state,description&quot; }'/&gt;</code> </pre> <a name="usage-for-m2o"></a> <h4>Usage for M2o:</h4> <pre> <code>&lt;field name='&lt;your field name&gt;' options='{ &quot;display_fields&quot;: &quot;name,state,description&quot; }'/&gt;</code> </pre> <a class="reference external image-reference" href="https://runbot.odoo-community.org/runbot/162/11.0"><img alt="Try me on Runbot" src="https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas" /></a> <a name="bug-tracker"></a> <h3>Bug Tracker</h3> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/web/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 smash it by providing detailed and welcomed feedback.</p> <a name="credits"></a> <h3>Credits</h3> <a name="images"></a> <h4>Images</h4> <ul class="simple"> <li>Odoo Community Association: <a class="reference external" href="https://odoo-community.org/logo.png">Icon</a>.</li> </ul> <a name="contributors"></a> <h4>Contributors</h4> <ul class="simple"> <li>Michele Zaccheddu - Levelprime Srl &lt;<a class="reference external" href="mailto:michele.zaccheddu&#64;levelprime.com">michele.zaccheddu&#64;levelprime.com</a>&gt;</li> </ul> <p>Do not contact contributors directly about support or help with technical issues.</p> <a name="maintainer"></a> <h4>Maintainer</h4> <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>This module is maintained by the OCA.</p> <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>To contribute to this module, please visit <a class="reference external" href="https://odoo-community.org">https://odoo-community.org</a>.</p>