Search 1.9 billion lines of Odoo code on GitHub

negativ_groups

Author: bloopark systems GmbH & Co. KG, Odoo Community Association (OCA)
License: AGPL-3
Branch: 8.0-negativ_groups
Repository: Benniphx/server-tools
Dependencies: base
Languages: HTML (21, 24.7%), Python (36, 42.4%), and reStructuredText (28, 32.9%)

<a name="negativ-groups"></a> <h2>Negativ Groups</h2> <p>Now you can use negative groups in the backend and front-end. Right now it is only possible to have positive groups in odoo.</p> <a name="example"></a> <h3>Example:</h3> <ul> <li><p class="first">&lt;div groups=&quot;portal.group_read&quot;&gt;</p> <blockquote> <p>&lt;button name=&quot;def_read&quot; string=&quot;Button 1&quot; /&gt;</p> </blockquote> <p>&lt;/div&gt;</p> </li> <li><p class="first">&lt;div groups=&quot;not portal.group_read&quot;&gt;</p> <blockquote> <p>&lt;button name=&quot;def_read_and_edit&quot; string=&quot;Button 2&quot; /&gt;</p> </blockquote> <p>&lt;/div&gt;</p> </li> </ul> <p>You have a menu, button or field which will be seen by members of a specific group, but you want to place a slightly different menu, button or field with a different option and you want that this button is shown for users which are not in that specific group.</p> <p>You don't want to place a lot of buttons for several groups because you want all groups beside the first one.</p> <p>Now you have the possibility to use negative groups in the Backend which means all other groups will see this content.</p> <a name="credits"></a> <h2>Credits</h2> <a name="contributors"></a> <h3>Contributors</h3> <ul class="simple"> <li>Benjamin Bachmann (<a class="reference external" href="mailto:benniphx&#64;gmail.com">benniphx&#64;gmail.com</a>)</li> <li>Robert Rübner (<a class="reference external" href="mailto:rruebner&#64;bloopark.de">rruebner&#64;bloopark.de</a>)</li> </ul> <a name="maintainer"></a> <h3>Maintainer</h3> <img alt="http://odoo-community.org/logo.png" src="http://odoo-community.org/logo.png" /> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> <tr class="field"><th class="field-name">alt:</th><td class="field-body">Odoo Community Association</td> </tr> <tr class="field"><th class="field-name">target:</th><td class="field-body"><a class="reference external" href="http://odoo-community.org">http://odoo-community.org</a></td> </tr> </tbody> </table> <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="http://odoo-community.org">http://odoo-community.org</a>.</p>