Browse Source

fix: full width for sheet v9

- Add margin for better visibility
- Add web_sheet_full_width migration state Done
- Update to new OCA README.rst format.
pull/259/head
Nicolas JEUDY 9 years ago
parent
commit
6f6025835b
  1. 2
      README.md
  2. 85
      web_sheet_full_width/README.rst
  3. 9
      web_sheet_full_width/__openerp__.py
  4. 7
      web_sheet_full_width/static/src/css/web_sheet_full_width.css

2
README.md

@ -50,7 +50,7 @@ addon | version | summary
[web_search_alphabetic](web_search_alphabetic/) | 1.0 (unported) | Web Alphabetical Search
[web_searchbar_full_width](web_searchbar_full_width/) | 8.0.1.0.0 (unported) | Show search bar in full screen width
[web_send_message_popup](web_send_message_popup/) | 1.0 (unported) | Web Send Message as Popup
[web_sheet_full_width](web_sheet_full_width/) | 8.0.1.0.0 (unported) | Use the whole available screen width when displaying sheets
[web_sheet_full_width](web_sheet_full_width/) | 9.0.1.0.0 | Use the whole available screen width when displaying sheets
[web_sheet_full_width_selective](web_sheet_full_width_selective/) | 8.0.0.1.0 (unported) | Show selected sheets with full width
[web_shortcuts](web_shortcuts/) | 8.0.1.0.0 (unported) | Web Shortcuts
[web_switch_company_warning](web_switch_company_warning/) | 8.0.0.1.0 (unported) | Show a warning if current company has been switched in another tab or window.

85
web_sheet_full_width/README.rst

@ -0,0 +1,85 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
====================
web_sheet_full_width
====================
This module was written to extend the functionality of web to support full width
for form view
Installation
============
To install this module, you need to:
* Just click install button.
Configuration
=============
To configure this module, you need to:
* N/A
Usage
=====
To use this module, you need to:
* Go to ...
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/162/9.0
.. repo_id is available in https://github.com/OCA/maintainer-tools/blob/master/tools/repos_with_ids.txt
.. branch is "8.0" for example
Known issues / Roadmap
======================
* N/A
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 smashing it by providing a detailed and welcomed `feedback
<https://github.com/OCA/
web/issues/new?body=module:%20
web_sheet_full_width%0Aversion:%20
9.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Credits
=======
Images
------
* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.
Contributors
------------
* Holger Brunn <hbrunn@therp.nl>
* Nicolas JEUDY <nicolas@sudokeys.com>
* Stephane (SOLIBRE) <stephane@omerp.net>
Maintainer
----------
.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org
This module is maintained by the OCA.
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.
To contribute to this module, please visit http://odoo-community.org.

9
web_sheet_full_width/__openerp__.py

@ -20,8 +20,8 @@
##############################################################################
{
"name": "Show sheets with full width",
"version": "8.0.1.0.0",
"author": "Therp BV,Odoo Community Association (OCA)",
"version": "9.0.1.0.0",
"author": "Therp BV,Sudokeys,Odoo Community Association (OCA)",
"license": "AGPL-3",
"summary": "Use the whole available screen width when displaying sheets",
"description": """
@ -43,9 +43,6 @@ Icon courtesy of http://www.picol.org/ (size_width.svg)
"view/qweb.xml",
],
"auto_install": False,
'installable': False,
'installable': True,
"application": False,
"external_dependencies": {
'python': [],
},
}

7
web_sheet_full_width/static/src/css/web_sheet_full_width.css

@ -1,7 +1,14 @@
.o_form_view .o_form_sheet_bg .o_form_sheet
{
width: auto !important;
margin: 15px;
}
.openerp .oe_form_sheet_width
{
max-width: none;
}
.openerp .oe_form_sheetbg
{
padding: 16px;

Loading…
Cancel
Save