Browse Source

Merge pull request #761 from metalsartigan/Jerther-web_sheet_full_width

[MIG] [11.0] web_sheet_full_width
pull/765/head
Pedro M. Baeza 7 years ago
committed by GitHub
parent
commit
f6f775d502
  1. 61
      web_sheet_full_width/README.rst
  2. 1
      web_sheet_full_width/__init__.py
  3. 17
      web_sheet_full_width/__manifest__.py
  4. BIN
      web_sheet_full_width/static/description/icon.png
  5. 10
      web_sheet_full_width/static/src/css/web_sheet_full_width.less
  6. 8
      web_sheet_full_width/templates/assets.xml

61
web_sheet_full_width/README.rst

@ -0,0 +1,61 @@
.. 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
=============================
Form view sheet at full width
=============================
This module was written to extend the functionality of the web client
to get full width in the form view sheet.
This module works in community edition and in enterprise edition.
Usage
=====
.. 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/11.0
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.
Credits
=======
Images
------
* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.
* Icon courtesy of http://www.picol.org/ (size_width.svg)
Contributors
------------
* Holger Brunn <hbrunn@therp.nl>
* Nicolas JEUDY - Sudokeys (https://github.com/njeudy)
* Stephane (SOLIBRE) <stephane@omerp.net>
* Sylvain LE GAL (https://twitter.com/legalsylvain)
* Jérôme Thériault <jtheriault@metalsartigan.com>
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.

1
web_sheet_full_width/__init__.py

@ -0,0 +1 @@
# -*- coding: utf-8 -*-

17
web_sheet_full_width/__manifest__.py

@ -0,0 +1,17 @@
# -*- coding: utf-8 -*-
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Show sheets with full width",
"version": "11.0.1.0.1",
"author": "Therp BV, Sudokeys, GRAP, Métal Sartigan, Odoo Community Association (OCA)",
"license": "AGPL-3",
"summary": "Use the whole available screen width when displaying sheets",
"category": "Tools",
"depends": [
'web',
],
"data": [
"templates/assets.xml",
],
"installable": True,
}

BIN
web_sheet_full_width/static/description/icon.png

After

Width: 80  |  Height: 80  |  Size: 411 B

10
web_sheet_full_width/static/src/css/web_sheet_full_width.less

@ -0,0 +1,10 @@
.o_form_view{
.o_form_sheet_bg .o_form_sheet{
margin: @padding-base-horizontal;
max-width: none;
width: auto;
}
.oe_chatter{
max-width: none;
}
}

8
web_sheet_full_width/templates/assets.xml

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<template id="assets_backend" name="web_sheet_full_width" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<link rel="stylesheet" href="/web_sheet_full_width/static/src/css/web_sheet_full_width.less" />
</xpath>
</template>
</odoo>
Loading…
Cancel
Save