Browse Source

[10.0] Ported web_sheet_full_width_selective

pull/819/head
Nicolas Piganeau 7 years ago
parent
commit
c4b2efb8f3
  1. 2
      web_sheet_full_width_selective/README.rst
  2. 20
      web_sheet_full_width_selective/__init__.py
  3. 32
      web_sheet_full_width_selective/__manifest__.py
  4. 2
      web_sheet_full_width_selective/static/src/css/sheet.css

2
web_sheet_full_width_selective/README.rst

@ -8,7 +8,7 @@ inherited view with the following content:
::
<xpath expr="//sheet" position="attributes">
<attribute name="class">oe_form_sheet_full_screen</attribute>
<attribute name="class">o_form_sheet_full_screen</attribute>
</xpath>
Install the 'web_sheet_full_width' module if you want to have a full screen

20
web_sheet_full_width_selective/__init__.py

@ -1,21 +1 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
#
# Copyright (c) 2014 Noviat nv/sa (www.noviat.com). All rights reserved.
#
# 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/>.
#
##############################################################################

32
web_sheet_full_width_selective/__manifest__.py

@ -1,37 +1,17 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
#
# Copyright (c) 2014 Noviat nv/sa (www.noviat.com). All rights reserved.
#
# 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/>.
#
##############################################################################
# -*- coding: utf-8 -*-
# Copyright (C) 2014 Noviat (<http://www.noviat.com>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
'name': 'Show selected sheets with full width',
'version': '8.0.0.1.0',
'version': '10.0.0.1.0',
'license': 'AGPL-3',
'author': 'Noviat, Odoo Community Association (OCA)',
'category': 'Hidden',
'category': 'Tools',
'depends': [
'web',
],
'data': [
'views/sheet.xml',
],
'active': False,
'installable': False,
}
}

2
web_sheet_full_width_selective/static/src/css/sheet.css

@ -1,4 +1,4 @@
.openerp .oe_form_sheet_full_screen {
.o_form_view .o_form_sheet_bg .o_form_sheet.o_form_sheet_full_screen {
max-width: none;
margin: 0 auto;
}
Loading…
Cancel
Save