mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
Merge pull request #226 from savoirfairelinux/7.0_view_enlargement
[7.0] Backport web_sheet_full_width from 8.0
This commit is contained in:
20
web_sheet_full_width/__init__.py
Normal file
20
web_sheet_full_width/__init__.py
Normal file
@@ -0,0 +1,20 @@
|
||||
# -*- 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/>.
|
||||
#
|
||||
##############################################################################
|
||||
53
web_sheet_full_width/__openerp__.py
Normal file
53
web_sheet_full_width/__openerp__.py
Normal file
@@ -0,0 +1,53 @@
|
||||
# -*- 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/>.
|
||||
#
|
||||
##############################################################################
|
||||
{
|
||||
"name": "Show sheets with full width",
|
||||
"version": "1.0",
|
||||
"author": "Therp BV,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',
|
||||
],
|
||||
"data": [
|
||||
],
|
||||
'css': [
|
||||
'static/src/css/web_sheet_full_width.css',
|
||||
],
|
||||
"auto_install": False,
|
||||
"installable": True,
|
||||
"application": False,
|
||||
"external_dependencies": {
|
||||
'python': [],
|
||||
},
|
||||
}
|
||||
22
web_sheet_full_width/static/src/css/web_sheet_full_width.css
Normal file
22
web_sheet_full_width/static/src/css/web_sheet_full_width.css
Normal file
@@ -0,0 +1,22 @@
|
||||
.openerp .oe_form_sheet_width
|
||||
{
|
||||
min-width: 650px;
|
||||
max-width: none !important;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
BIN
web_sheet_full_width/static/src/img/icon.png
Normal file
BIN
web_sheet_full_width/static/src/img/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 411 B |
Reference in New Issue
Block a user