Search 1.9 billion lines of Odoo code on GitHub

shared_custom_view

Author: Camptocamp, Odoo Community Association (OCA)
License: LGPL-3
Branch: merge-branch-2473-15.0.1.4.1
Repository: camptocamp/reporting-engine
Dependencies: base, and board
Languages: HTML (337, 72.2%), Python (53, 11.3%), XML (30, 6.4%), and reStructuredText (47, 10.1%)
Other branches: merge-branch-2473-15.0.1.4.2, merge-branch-2473-ENEA-1076-104566e1, and merge-branch-2473-gurneyalex-ENEA-1076-8bd94b81
Other repositories: gurneyalex/reporting-engine

<h1 class="title">Shared Custom View</h1> <p><a class="reference external image-reference" 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 image-reference" 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 image-reference" href="https://github.com/OCA/reporting-engine/tree/15.0/shared_custom_view"><img alt="OCA/reporting-engine" src="https://img.shields.io/badge/github-OCA%2Freporting--engine-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/reporting-engine-15-0/reporting-engine-15-0-shared_custom_view"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runbot.odoo-community.org/runbot/143/15.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p>This module makes the user_id field of ir.ui.view.custom optional, and therefore allows to share the definition of a dashboard view among different users.</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="#maintainers" id="id5">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 should:</p> <ul class="simple"> <li>create a configure a dashboard to your liking in the usual way</li> <li>in Settings / Technical / User Interface / Views, find the My Dashboard view and duplicate it. Save the duplicated view after changing its name. We will use &quot;Shared Dashboard View&quot; in the rest of this page.</li> <li>in Settings / Technical / Actions / Windows Actions, find the &quot;My Dashboard&quot; action and duplicate it. Give it a new name (don't forget the translations). We will use &quot;Shared Dashboard Action&quot; in the rest of this page. Possibly set some security rules. Set the &quot;View Ref&quot; field to &quot;Shared Dashboard View&quot;.</li> <li>in Settings / Technical / User Interface / Menu Items, find the &quot;My Dashboard&quot; menu item and duplicate it (don't forget the tranlations). We will use &quot;Shared Dashboard&quot; in the rest of this page. Set the action to &quot;Shared Dashboard Action&quot;.</li> <li>in Settings / Technical / User Interface / Customize Views, find the last dashboard created with your user and edit it: set the view to &quot;Shared Dashboard View&quot; and remove the User</li> </ul> <p>Refresh your browser session to update the view cache. Test that you can access the new dashboard with your user or with any user having the groups set in the security of the action.</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/reporting-engine/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/reporting-engine/issues/new?body=module:%20shared_custom_view%0Aversion:%2015.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>Camptocamp</li> </ul> <a name="maintainers"></a> <h3><a class="toc-backref" href="#id5">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/reporting-engine/tree/15.0/shared_custom_view">OCA/reporting-engine</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>