← Back to team overview

openerp-community-reviewer team mailing list archive

[Merge] lp:~therp-nl/web-addons/6.1-web_print_from_browser-hide_kanban_controls into lp:web-addons/6.1

 

Holger Brunn (Therp) has proposed merging lp:~therp-nl/web-addons/6.1-web_print_from_browser-hide_kanban_controls into lp:web-addons/6.1.

Requested reviews:
  Web-Addons Core Editors (webaddons-core-editors)

For more details, see:
https://code.launchpad.net/~therp-nl/web-addons/6.1-web_print_from_browser-hide_kanban_controls/+merge/203916
-- 
https://code.launchpad.net/~therp-nl/web-addons/6.1-web_print_from_browser-hide_kanban_controls/+merge/203916
Your team Web-Addons Core Editors is requested to review the proposed merge of lp:~therp-nl/web-addons/6.1-web_print_from_browser-hide_kanban_controls into lp:web-addons/6.1.
=== modified file 'web_print_from_browser/static/src/css/web_print_from_browser.css'
--- web_print_from_browser/static/src/css/web_print_from_browser.css	2013-06-10 12:52:02 +0000
+++ web_print_from_browser/static/src/css/web_print_from_browser.css	2014-01-30 10:54:43 +0000
@@ -14,6 +14,8 @@
     .oe_debug_view,
     .oe_searchable_view,
     .oe-process-view,
+    .oe_kanban_show_more,
+    .oe_kanban_header,
     #oe_secondary_menu,
     table.main_table > tbody > tr:first-child,
     table.main_table > tbody > tr:last-child,

=== added directory 'web_widget_classes'
=== added file 'web_widget_classes/__init__.py'
--- web_widget_classes/__init__.py	1970-01-01 00:00:00 +0000
+++ web_widget_classes/__init__.py	2014-01-30 10:54:43 +0000
@@ -0,0 +1,20 @@
+# -*- coding: utf-8 -*-
+##############################################################################
+#
+#    OpenERP, Open Source Management Solution
+#    This module copyright (C) 2013 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/>.
+#
+##############################################################################

=== added file 'web_widget_classes/__openerp__.py'
--- web_widget_classes/__openerp__.py	1970-01-01 00:00:00 +0000
+++ web_widget_classes/__openerp__.py	2014-01-30 10:54:43 +0000
@@ -0,0 +1,48 @@
+# -*- coding: utf-8 -*-
+##############################################################################
+#
+#    OpenERP, Open Source Management Solution
+#    This module copyright (C) 2013 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" : "CSS classes for widgets",
+    "version" : "1.0",
+    "author" : "Therp BV",
+    "complexity": "normal",
+    "description": """
+    For simple UI changes, having classes attached to widgets giving
+    information about the model being dislpayed can be essential.
+    """,
+    "category" : "Dependency",
+    "depends" : [
+        'web',
+    ],
+    "data" : [
+    ],
+    "js": [
+    ],
+    "css": [
+    ],
+    "qweb": [
+        'static/src/xml/web_widget_classes.xml',
+    ],
+    "auto_install": False,
+    "installable": True,
+    "external_dependencies" : {
+        'python' : [],
+    },
+}

=== added directory 'web_widget_classes/static'
=== added directory 'web_widget_classes/static/src'
=== added directory 'web_widget_classes/static/src/img'
=== added file 'web_widget_classes/static/src/img/icon.png'
Binary files web_widget_classes/static/src/img/icon.png	1970-01-01 00:00:00 +0000 and web_widget_classes/static/src/img/icon.png	2014-01-30 10:54:43 +0000 differ
=== added directory 'web_widget_classes/static/src/xml'
=== added file 'web_widget_classes/static/src/xml/web_widget_classes.xml'
--- web_widget_classes/static/src/xml/web_widget_classes.xml	1970-01-01 00:00:00 +0000
+++ web_widget_classes/static/src/xml/web_widget_classes.xml	2014-01-30 10:54:43 +0000
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<templates id="template">
+    <t t-extend="WidgetFrame">
+        <t t-jquery="table">
+            this.attr('t-att-class', '"' + this.attr('class') + ' oe_model_" + (widget.view.dataset.model.replace(new RegExp("\\\\.","g"), "_"))');
+            this.attr('class', null);
+        </t>
+    </t>
+</templates>


Follow ups