Search 1.9 billion lines of Odoo code on GitHub

web_sheet_width_by_ui

Author: Akretion, Odoo Community Association (OCA)
License: AGPL-3
Branch: 10-web_sheet_width_by_ui
Repository: akretion/web
Dependencies: base, and web
Languages: CSS (4, 2.7%), Python (73, 48.7%), XML (21, 14.0%), and reStructuredText (52, 34.7%)

<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="sheet-width-by-user-interface"></a> <h2>Sheet Width by User Interface</h2> <p>This module adds a css class to change a Form Sheet view to cover the full screen.</p> <p>You can apply this css class either in the arch xml view either by configuration in the view form.</p> <a name="configuration"></a> <h3>Configuration</h3> <p>To configure this module, you need to:</p> <ol class="arabic simple"> <li>Apply 'Technical Features' rights to your user</li> <li>Go to the form view of your choice with the menu (Settings &gt; Technical &gt; User Interface &gt; Views)</li> <li>Apply a value in the 'Form Width' field.</li> </ol> <div class="figure"> <img alt="Set full width" src="web_sheet_width_by_ui/static/description/img1.png" style="width: 600px;" /> </div> <div class="line-block"> <div class="line"><br /></div> </div> <p>Alternative way is to define the css class directly in your view.</p> <p>You can activate the Full Screen view by the creation of an inherited view with the following content:</p> <pre> <code>&lt;xpath expr=&quot;//sheet&quot; position=&quot;attributes&quot;&gt; &lt;attribute name=&quot;class&quot;&gt;oe_form_sheet_full_screen&lt;/attribute&gt; &lt;/xpath&gt;</code> </pre> <p>Install the 'web_sheet_full_width' module if you want to have a full screen behaviour in all sheets.</p> <a name="usage"></a> <h3>Usage</h3> <p>To use this module, you need to configure the form view of your choice as explained above.</p> <a class="reference external image-reference" href="https://runbot.odoo-community.org/runbot/162/8.0"><img alt="Try me on Runbot" src="https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas" /></a> <a name="known-issues-roadmap"></a> <h3>Known issues / Roadmap</h3> <ul class="simple"> <li>add other css styles to have more choice on width.</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> <p>Icon courtesy of <a class="reference external" href="http://www.picol.org/">http://www.picol.org/</a> (size_width.svg)</p> <a name="contributors"></a> <h4>Contributors</h4> <ul class="simple"> <li>David Béal &lt;<a class="reference external" href="mailto:david.beal&#64;akretion.com">david.beal&#64;akretion.com</a>&gt;</li> <li>Luc De Meyer (Noviat)</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>