Search 1.9 billion lines of Odoo code on GitHub

web_form_sidebar_hide_attachment

Author: ACSONE SA/NV, Odoo Community Association (OCA)
License: AGPL-3
Branch: 10.0-lns_master
Repository: acsone/web
Dependencies: document, and web
Languages: JavaScript (30, 33.3%), Python (16, 17.8%), XML (8, 8.9%), and reStructuredText (36, 40.0%)
Other branches: 10.0-web_form_sidebar_hide_attachment-bwi

<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.svg"> </a> <a name="web-form-sidebar-hide-attachment"></a> <h2>Web Form Sidebar Hide Attachment</h2> <p>This module allows to hide attachment sidebar on specific form views.</p> <a name="installation"></a> <h3>Installation</h3> <p>This module depends on document.</p> <a name="usage"></a> <h3>Usage</h3> <p>To use this module, you need to add an attribute on form views:</p> <pre> <code lang="xml">&lt;form string=&quot;Partners&quot; attachment_sidebar=&quot;false&quot;&gt;</code> </pre> <p>or</p> <pre> <code lang="xml">&lt;form string=&quot;Partners&quot; attachment_sidebar=&quot;0&quot;&gt;</code> </pre> <a name="known-issues-roadmap"></a> <h3>Known issues / Roadmap</h3> <ul class="simple"> <li>Allow to define a parameter/property on a model to disable the attachment sidebar of all form views which belongs to the model.</li> <li>Allow to use a condition depending on the current record values.</li> </ul> <a name="bug-tracker"></a> <h3>Bug Tracker</h3> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/{project_repo}/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 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://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg">Icon</a>.</li> </ul> <a name="contributors"></a> <h4>Contributors</h4> <ul class="simple"> <li>Benjamin Willig &lt;<a class="reference external" href="mailto:benjamin.willig&#64;acsone.eu">benjamin.willig&#64;acsone.eu</a>&gt;</li> </ul> <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>