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/761/head
parent
29c6293f74
commit
6e3aceb6c6
|
@ -16,7 +16,7 @@ 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/9.0
|
||||
:target: https://runbot.odoo-community.org/runbot/162/10.0
|
||||
|
||||
Known issues / Roadmap
|
||||
======================
|
||||
|
@ -29,11 +29,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 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**>`_.
|
||||
help us smashing it by providing a detailed and welcomed feedback.
|
||||
|
||||
Credits
|
||||
=======
|
||||
|
@ -43,12 +39,15 @@ 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)
|
||||
|
||||
Maintainer
|
||||
----------
|
||||
|
|
|
@ -1,20 +1 @@
|
|||
# -*- 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 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# 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/>.
|
||||
#
|
||||
##############################################################################
|
||||
# Copyright (C) 2014 Therp BV (<http://therp.nl>)
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
{
|
||||
"name": "Show sheets with full width",
|
||||
"version": "9.0.1.0.0",
|
||||
"author": "Therp BV,Sudokeys,Odoo Community Association (OCA)",
|
||||
"version": "10.0.1.0.0",
|
||||
"author": "Therp BV,Sudokeys,GRAP,Odoo Community Association (OCA)",
|
||||
"license": "AGPL-3",
|
||||
"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",
|
||||
"depends": [
|
||||
'web',
|
||||
|
@ -42,7 +14,5 @@ Icon courtesy of http://www.picol.org/ (size_width.svg)
|
|||
"data": [
|
||||
"view/qweb.xml",
|
||||
],
|
||||
"auto_install": False,
|
||||
'installable': False,
|
||||
"application": False,
|
||||
"installable": True,
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
<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.css"/>
|
||||
<link rel="stylesheet" href="/web_sheet_full_width/static/src/css/web_sheet_full_width.less"/>
|
||||
</xpath>
|
||||
</template>
|
||||
</data>
|
||||
|
|
Loading…
Reference in New Issue