diff --git a/base_export_manager/README.rst b/base_export_manager/README.rst index 07454a9f0..4e236a3b9 100644 --- a/base_export_manager/README.rst +++ b/base_export_manager/README.rst @@ -44,7 +44,8 @@ To manage export profiles, you need to: * Choose a name. * Choose a model (table in the database). * Choose the fields to export. - * If you choose a related field, you can choose also up to 3 levels of subfields. + * If you choose a related field, you can choose also up to 3 levels of + subfields. * You can drag & drop to reorder the fields. To use one of those profiles, you need to: diff --git a/base_export_manager/__openerp__.py b/base_export_manager/__openerp__.py index 1ac8b1d71..477f749c5 100644 --- a/base_export_manager/__openerp__.py +++ b/base_export_manager/__openerp__.py @@ -1,11 +1,11 @@ # -*- coding: utf-8 -*- -# © 2015 Antiun Ingeniería S.L. - Antonio Espinosa +# Copyright 2015 Antiun Ingeniería S.L. - Antonio Espinosa # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { 'name': "Manage model export profiles", 'category': 'Personalization', - 'version': '8.0.2.0.0', + 'version': '9.0.1.0.0', 'depends': [ 'web', ], @@ -19,8 +19,10 @@ ], 'author': 'Antiun Ingeniería S.L., ' 'Tecnativa, ' + 'LasLabs, ' 'Odoo Community Association (OCA)', 'website': 'http://www.antiun.com', 'license': 'AGPL-3', 'installable': True, + 'application': False, } diff --git a/base_export_manager/static/description/icon.svg b/base_export_manager/static/description/icon.svg deleted file mode 100644 index a7a26d093..000000000 --- a/base_export_manager/static/description/icon.svg +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - image/svg+xml - - - - - - - - - - - diff --git a/base_export_manager/static/src/js/main.js b/base_export_manager/static/src/js/main.js deleted file mode 100644 index 43d04a5fe..000000000 --- a/base_export_manager/static/src/js/main.js +++ /dev/null @@ -1,32 +0,0 @@ -/* © 2015 Antiun Ingeniería S.L. - Antonio Espinosa - * License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). */ - -// Check jQuery available -if (typeof jQuery === 'undefined') { throw new Error('Requires jQuery') } - -+function ($) { - 'use strict'; - - openerp.base_exports_manager = function(instance, local) { - var _t = instance.web._t, - _lt = instance.web._lt; - var QWeb = instance.web.qweb; - - instance.web.DataExport.include({ - do_load_export_field: function(field_list) { - var export_node = this.$el.find("#fields_list"); - _(field_list).each(function (field) { - export_node.append(new Option(field.label + ' (' + field.name + ')', field.name)); - }); - }, - add_field: function(field_id, string) { - var field_list = this.$el.find('#fields_list'); - if (this.$el.find("#fields_list option[value='" + field_id + "']") - && !this.$el.find("#fields_list option[value='" + field_id + "']").length) { - field_list.append(new Option(string + ' (' + field_id + ')', field_id)); - } - }, - }); - } - -}(jQuery); diff --git a/base_export_manager/views/ir_exports_view.xml b/base_export_manager/views/ir_exports_view.xml index a9b9b9a6b..106948f7e 100644 --- a/base_export_manager/views/ir_exports_view.xml +++ b/base_export_manager/views/ir_exports_view.xml @@ -1,8 +1,8 @@ - - + + Export Profiles @@ -81,5 +81,4 @@ - - +