3
0
Fork 0

[IMP] web_dialog_size: pre-commit auto fixes

17.0
Carlos Roca 2024-08-13 13:11:49 +02:00
parent 95c85e4fce
commit d760a19735
11 changed files with 84 additions and 75 deletions

View File

@ -17,20 +17,20 @@ Web Dialog Size
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github
:target: https://github.com/OCA/web/tree/16.0/web_dialog_size
:target: https://github.com/OCA/web/tree/17.0/web_dialog_size
:alt: OCA/web
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_dialog_size
:target: https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_dialog_size
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=16.0
:target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=17.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
A module that lets the user expand/restore the dialog box size through a button
in the upper right corner (imitating most windows managers).
It also adds draggable support to the dialogs.
A module that lets the user expand/restore the dialog box size through a
button in the upper right corner (imitating most windows managers). It
also adds draggable support to the dialogs.
**Table of contents**
@ -40,17 +40,19 @@ It also adds draggable support to the dialogs.
Configuration
=============
By default, the module respects the caller's ``dialog_size`` option.
If you want to set dialog boxes maximized by default, you need to:
By default, the module respects the caller's ``dialog_size`` option. If
you want to set dialog boxes maximized by default, you need to:
#. Go to *Settings -> Technical -> Parameters -> System Parameters*
#. Add a new record with the text *web_dialog_size.default_maximize* in
the *Key* field and the text *True* in the *Value* field
1. Go to *Settings -> Technical -> Parameters -> System Parameters*
2. | Add a new record with the text *web_dialog_size.default_maximize*
in
| the *Key* field and the text *True* in the *Value* field
Known issues / Roadmap
======================
* Allow setting default dialog size per user.
- Allow setting default dialog size per user.
Bug Tracker
===========
@ -58,7 +60,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/web/issues/new?body=module:%20web_dialog_size%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/web/issues/new?body=module:%20web_dialog_size%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Do not contact contributors directly about support or help with technical issues.
@ -66,7 +68,7 @@ Credits
=======
Authors
~~~~~~~
-------
* ACSONE SA/NV
* Therp BV
@ -75,27 +77,27 @@ Authors
* Amaris
Contributors
~~~~~~~~~~~~
------------
* Anthony Muschang <anthony.muschang@acsone.eu>
* Stéphane Bidoul <stephane.bidoul@acsone.eu>
* Holger Brunn <hbrunn@therp.nl>
* Siddharth Bhalgami <siddharth.bhalgami@gmail.com>
* Wolfgang Pichler <wpichler@callino.at>
* David Vidal <david.vidal@tecnativa.com>
* Quentin Theuret <quentin.theuret@amaris.com>
* `Tecnativa <https://www.tecnativa.com>`_:
- Anthony Muschang <anthony.muschang@acsone.eu>
- Stéphane Bidoul <stephane.bidoul@acsone.eu>
- Holger Brunn <hbrunn@therp.nl>
- Siddharth Bhalgami <siddharth.bhalgami@gmail.com>
- Wolfgang Pichler <wpichler@callino.at>
- David Vidal <david.vidal@tecnativa.com>
- Quentin Theuret <quentin.theuret@amaris.com>
- `Tecnativa <https://www.tecnativa.com>`__:
* Pedro M. Baeza
* Jairo Llopis
* Ernesto Tejeda
- Pedro M. Baeza
- Jairo Llopis
- Ernesto Tejeda
* Sudhir Arya <sudhir@erpharbor.com>
* Pierre Pizzetta <pierre@devreaction.com>
* Mantas Šniukas <mantas@vialaurea.lt>
- Sudhir Arya <sudhir@erpharbor.com>
- Pierre Pizzetta <pierre@devreaction.com>
- Mantas Šniukas <mantas@vialaurea.lt>
Maintainers
~~~~~~~~~~~
-----------
This module is maintained by the OCA.
@ -107,6 +109,6 @@ 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.
This module is part of the `OCA/web <https://github.com/OCA/web/tree/16.0/web_dialog_size>`_ project on GitHub.
This module is part of the `OCA/web <https://github.com/OCA/web/tree/17.0/web_dialog_size>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

View File

@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"

View File

@ -0,0 +1,7 @@
By default, the module respects the caller's `dialog_size` option. If
you want to set dialog boxes maximized by default, you need to:
1. Go to *Settings -\> Technical -\> Parameters -\> System Parameters*
2. Add a new record with the text *web_dialog_size.default_maximize* in
the *Key* field and the text *True* in the *Value* field

View File

@ -1,6 +0,0 @@
By default, the module respects the caller's ``dialog_size`` option.
If you want to set dialog boxes maximized by default, you need to:
#. Go to *Settings -> Technical -> Parameters -> System Parameters*
#. Add a new record with the text *web_dialog_size.default_maximize* in
the *Key* field and the text *True* in the *Value* field

View File

@ -0,0 +1,14 @@
- Anthony Muschang \<<anthony.muschang@acsone.eu>\>
- Stéphane Bidoul \<<stephane.bidoul@acsone.eu>\>
- Holger Brunn \<<hbrunn@therp.nl>\>
- Siddharth Bhalgami \<<siddharth.bhalgami@gmail.com>\>
- Wolfgang Pichler \<<wpichler@callino.at>\>
- David Vidal \<<david.vidal@tecnativa.com>\>
- Quentin Theuret \<<quentin.theuret@amaris.com>\>
- [Tecnativa](https://www.tecnativa.com):
- Pedro M. Baeza
- Jairo Llopis
- Ernesto Tejeda
- Sudhir Arya \<<sudhir@erpharbor.com>\>
- Pierre Pizzetta \<<pierre@devreaction.com>\>
- Mantas Šniukas \<<mantas@vialaurea.lt>\>

View File

@ -1,16 +0,0 @@
* Anthony Muschang <anthony.muschang@acsone.eu>
* Stéphane Bidoul <stephane.bidoul@acsone.eu>
* Holger Brunn <hbrunn@therp.nl>
* Siddharth Bhalgami <siddharth.bhalgami@gmail.com>
* Wolfgang Pichler <wpichler@callino.at>
* David Vidal <david.vidal@tecnativa.com>
* Quentin Theuret <quentin.theuret@amaris.com>
* `Tecnativa <https://www.tecnativa.com>`_:
* Pedro M. Baeza
* Jairo Llopis
* Ernesto Tejeda
* Sudhir Arya <sudhir@erpharbor.com>
* Pierre Pizzetta <pierre@devreaction.com>
* Mantas Šniukas <mantas@vialaurea.lt>

View File

@ -0,0 +1,3 @@
A module that lets the user expand/restore the dialog box size through a
button in the upper right corner (imitating most windows managers). It
also adds draggable support to the dialogs.

View File

@ -1,3 +0,0 @@
A module that lets the user expand/restore the dialog box size through a button
in the upper right corner (imitating most windows managers).
It also adds draggable support to the dialogs.

View File

@ -0,0 +1 @@
- Allow setting default dialog size per user.

View File

@ -1 +0,0 @@
* Allow setting default dialog size per user.

View File

@ -8,10 +8,11 @@
/*
:Author: David Goodger (goodger@python.org)
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
:Copyright: This stylesheet has been placed in the public domain.
Default cascading style sheet for the HTML output of Docutils.
Despite the name, some widely supported CSS2 features are used.
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
customize this style sheet.
@ -274,7 +275,7 @@ pre.literal-block, pre.doctest-block, pre.math, pre.code {
margin-left: 2em ;
margin-right: 2em }
pre.code .ln { color: grey; } /* line numbers */
pre.code .ln { color: gray; } /* line numbers */
pre.code, code { background-color: #eeeeee }
pre.code .comment, code .comment { color: #5C6576 }
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
@ -300,7 +301,7 @@ span.option {
span.pre {
white-space: pre }
span.problematic {
span.problematic, pre.problematic {
color: red }
span.section-subtitle {
@ -368,10 +369,10 @@ ul.auto-toc {
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:79e0e0e4e8e452e0ff8721c42fc5cda3c078b0461dfb7bdb454fb4d768c4b6af
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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/web/tree/16.0/web_dialog_size"><img alt="OCA/web" src="https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_dialog_size"><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://runboat.odoo-community.org/builds?repo=OCA/web&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>A module that lets the user expand/restore the dialog box size through a button
in the upper right corner (imitating most windows managers).
It also adds draggable support to the dialogs.</p>
<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/web/tree/17.0/web_dialog_size"><img alt="OCA/web" src="https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_dialog_size"><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://runboat.odoo-community.org/builds?repo=OCA/web&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>A module that lets the user expand/restore the dialog box size through a
button in the upper right corner (imitating most windows managers). It
also adds draggable support to the dialogs.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
@ -388,14 +389,16 @@ It also adds draggable support to the dialogs.</p>
</div>
<div class="section" id="configuration">
<h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
<p>By default, the module respects the callers <tt class="docutils literal">dialog_size</tt> option.
If you want to set dialog boxes maximized by default, you need to:</p>
<ol class="arabic simple">
<li>Go to <em>Settings -&gt; Technical -&gt; Parameters -&gt; System Parameters</em></li>
<li><dl class="first docutils">
<dt>Add a new record with the text <em>web_dialog_size.default_maximize</em> in</dt>
<dd>the <em>Key</em> field and the text <em>True</em> in the <em>Value</em> field</dd>
</dl>
<p>By default, the module respects the callers <tt class="docutils literal">dialog_size</tt> option. If
you want to set dialog boxes maximized by default, you need to:</p>
<ol class="arabic">
<li><p class="first">Go to <em>Settings -&gt; Technical -&gt; Parameters -&gt; System Parameters</em></p>
</li>
<li><div class="first line-block">
<div class="line">Add a new record with the text <em>web_dialog_size.default_maximize</em>
in</div>
<div class="line">the <em>Key</em> field and the text <em>True</em> in the <em>Value</em> field</div>
</div>
</li>
</ol>
</div>
@ -410,7 +413,7 @@ If you want to set dialog boxes maximized by default, you need to:</p>
<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 to smash it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OCA/web/issues/new?body=module:%20web_dialog_size%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<a class="reference external" href="https://github.com/OCA/web/issues/new?body=module:%20web_dialog_size%0Aversion:%2017.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>
</div>
<div class="section" id="credits">
@ -449,11 +452,13 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
<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>
<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/web/tree/16.0/web_dialog_size">OCA/web</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/web/tree/17.0/web_dialog_size">OCA/web</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>
</div>
</div>