mirror of https://github.com/OCA/web.git
10.0 port web sheet full width (#449)
[MIG] adapt web_sheet_full_width to V10.0 web frameworkpull/2115/head
parent
97946a1b64
commit
eee3e1763f
|
@ -16,7 +16,7 @@ Usage
|
||||||
|
|
||||||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
|
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
|
||||||
:alt: Try me on Runbot
|
:alt: Try me on Runbot
|
||||||
:target: https://runbot.odoo-community.org/runbot/162/9.0
|
:target: https://runbot.odoo-community.org/runbot/162/10.0
|
||||||
|
|
||||||
Known issues / Roadmap
|
Known issues / Roadmap
|
||||||
======================
|
======================
|
||||||
|
@ -29,11 +29,7 @@ Bug Tracker
|
||||||
Bugs are tracked on `GitHub Issues
|
Bugs are tracked on `GitHub Issues
|
||||||
<https://github.com/OCA/web/issues>`_. In case of trouble, please
|
<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,
|
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
|
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
|
Credits
|
||||||
=======
|
=======
|
||||||
|
@ -43,12 +39,15 @@ Images
|
||||||
|
|
||||||
* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.
|
* 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
|
Contributors
|
||||||
------------
|
------------
|
||||||
|
|
||||||
* Holger Brunn <hbrunn@therp.nl>
|
* Holger Brunn <hbrunn@therp.nl>
|
||||||
* Nicolas JEUDY - Sudokeys (https://github.com/njeudy)
|
* Nicolas JEUDY - Sudokeys (https://github.com/njeudy)
|
||||||
* Stephane (SOLIBRE) <stephane@omerp.net>
|
* Stephane (SOLIBRE) <stephane@omerp.net>
|
||||||
|
* Sylvain LE GAL (https://twitter.com/legalsylvain)
|
||||||
|
|
||||||
Maintainer
|
Maintainer
|
||||||
----------
|
----------
|
||||||
|
|
|
@ -1,20 +1 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
##############################################################################
|
|
||||||
#
|
|
||||||
# OpenERP, Open Source Management Solution
|
|
||||||
# This module copyright (C) 2014 Therp BV (<http://therp.nl>).
|
|
||||||
#
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU Affero General Public License as
|
|
||||||
# published by the Free Software Foundation, either version 3 of the
|
|
||||||
# License, or (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU Affero General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
|
||||||
##############################################################################
|
|
||||||
|
|
|
@ -1,40 +1,12 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
##############################################################################
|
# Copyright (C) 2014 Therp BV (<http://therp.nl>)
|
||||||
#
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||||
# OpenERP, Open Source Management Solution
|
|
||||||
# This module copyright (C) 2014 Therp BV (<http://therp.nl>).
|
|
||||||
#
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU Affero General Public License as
|
|
||||||
# published by the Free Software Foundation, either version 3 of the
|
|
||||||
# License, or (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU Affero General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
|
||||||
##############################################################################
|
|
||||||
{
|
{
|
||||||
"name": "Show sheets with full width",
|
"name": "Show sheets with full width",
|
||||||
"version": "9.0.1.0.0",
|
"version": "10.0.1.0.0",
|
||||||
"author": "Therp BV,Sudokeys,Odoo Community Association (OCA)",
|
"author": "Therp BV,Sudokeys,GRAP,Odoo Community Association (OCA)",
|
||||||
"license": "AGPL-3",
|
"license": "AGPL-3",
|
||||||
"summary": "Use the whole available screen width when displaying sheets",
|
"summary": "Use the whole available screen width when displaying sheets",
|
||||||
"description": """
|
|
||||||
Description
|
|
||||||
-----------
|
|
||||||
This addon displays sheets making use of the whole screen, thereby avoiding
|
|
||||||
to narrow columns in ie. sale orders or purchase orders.
|
|
||||||
|
|
||||||
|
|
||||||
Acknowledgements
|
|
||||||
----------------
|
|
||||||
Icon courtesy of http://www.picol.org/ (size_width.svg)
|
|
||||||
""",
|
|
||||||
"category": "Tools",
|
"category": "Tools",
|
||||||
"depends": [
|
"depends": [
|
||||||
'web',
|
'web',
|
||||||
|
@ -42,7 +14,5 @@ Icon courtesy of http://www.picol.org/ (size_width.svg)
|
||||||
"data": [
|
"data": [
|
||||||
"view/qweb.xml",
|
"view/qweb.xml",
|
||||||
],
|
],
|
||||||
"auto_install": False,
|
"installable": True,
|
||||||
'installable': False,
|
|
||||||
"application": False,
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,27 +0,0 @@
|
||||||
.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;
|
|
||||||
}
|
|
||||||
|
|
||||||
.openerp .oe_form div.oe_chatter {
|
|
||||||
max-width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.openerp .oe_followers {
|
|
||||||
width: 250px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.openerp .oe_record_thread {
|
|
||||||
margin-right: 293px;
|
|
||||||
}
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
.o_form_view{
|
||||||
|
.o_form_sheet_bg .o_form_sheet{
|
||||||
|
margin: @padding-base-horizontal;
|
||||||
|
max-width: none;
|
||||||
|
}
|
||||||
|
.oe_chatter{
|
||||||
|
max-width: none;
|
||||||
|
}
|
||||||
|
}
|
|
@ -3,7 +3,7 @@
|
||||||
<data>
|
<data>
|
||||||
<template id="assets_backend" name="web_sheet_full_width" inherit_id="web.assets_backend">
|
<template id="assets_backend" name="web_sheet_full_width" inherit_id="web.assets_backend">
|
||||||
<xpath expr="." position="inside">
|
<xpath expr="." position="inside">
|
||||||
<link rel="stylesheet" href="/web_sheet_full_width/static/src/css/web_sheet_full_width.css"/>
|
<link rel="stylesheet" href="/web_sheet_full_width/static/src/css/web_sheet_full_width.less"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
</template>
|
</template>
|
||||||
</data>
|
</data>
|
||||||
|
|
Loading…
Reference in New Issue