diff --git a/odoo-debrand/__manifest__.py b/odoo-debrand/__manifest__.py index 05721e7ee..cb5439303 100644 --- a/odoo-debrand/__manifest__.py +++ b/odoo-debrand/__manifest__.py @@ -22,7 +22,7 @@ ############################################################################## { 'name': "Odoo Debranding", - 'version': "10.0.1.0.0", + 'version': "10.0.3.0", 'summary': """Debrand Odoo""", 'description': """Debrand Odoo""", 'author': "Cybrosys Techno Solutions", @@ -31,8 +31,7 @@ 'category': 'Tools', 'depends': ['base', 'im_livechat', 'website'], 'data': [ - 'views/views.xml', - 'views/templates.xml'], + 'views/views.xml'], 'demo': [], 'qweb': ["static/src/xml/*.xml"], 'images': ['static/description/banner.jpg'], diff --git a/odoo-debrand/controllers/controllers.py b/odoo-debrand/controllers/controllers.py index 5dff53697..3d2b04158 100644 --- a/odoo-debrand/controllers/controllers.py +++ b/odoo-debrand/controllers/controllers.py @@ -23,12 +23,12 @@ db_monodb = http.db_monodb class BinaryCustom(Binary): - @http.route([ - '/web/binary/company_logo', - '/logo', - '/logo.png', - ], type='http', auth="none") - def company_logo(self, dbname=None, **kw): + @http.route([ + '/web/binary/company_logo', + '/logo', + '/logo.png', + ], type='http', auth="none") + def company_logo(self, dbname=None, **kw): imgname = 'logo' imgext = '.png' company_logo = request.env['website'].sudo().search([])[0].company_logo diff --git a/odoo-debrand/static/description/about.png b/odoo-debrand/description/about.png similarity index 100% rename from odoo-debrand/static/description/about.png rename to odoo-debrand/description/about.png diff --git a/odoo-debrand/static/description/banner.jpg b/odoo-debrand/description/banner.jpg similarity index 100% rename from odoo-debrand/static/description/banner.jpg rename to odoo-debrand/description/banner.jpg diff --git a/odoo-debrand/static/description/configurations.png b/odoo-debrand/description/configurations.png similarity index 100% rename from odoo-debrand/static/description/configurations.png rename to odoo-debrand/description/configurations.png diff --git a/odoo-debrand/static/description/cybro_logo.png b/odoo-debrand/description/cybro_logo.png similarity index 100% rename from odoo-debrand/static/description/cybro_logo.png rename to odoo-debrand/description/cybro_logo.png diff --git a/odoo-debrand/static/description/db-selector.png b/odoo-debrand/description/db-selector.png similarity index 100% rename from odoo-debrand/static/description/db-selector.png rename to odoo-debrand/description/db-selector.png diff --git a/odoo-debrand/static/description/footer.png b/odoo-debrand/description/footer.png similarity index 100% rename from odoo-debrand/static/description/footer.png rename to odoo-debrand/description/footer.png diff --git a/odoo-debrand/static/description/icon.png b/odoo-debrand/description/icon.png similarity index 100% rename from odoo-debrand/static/description/icon.png rename to odoo-debrand/description/icon.png diff --git a/odoo-debrand/static/description/index.html b/odoo-debrand/description/index.html similarity index 100% rename from odoo-debrand/static/description/index.html rename to odoo-debrand/description/index.html diff --git a/odoo-debrand/static/description/odoo-title.png b/odoo-debrand/description/odoo-title.png similarity index 100% rename from odoo-debrand/static/description/odoo-title.png rename to odoo-debrand/description/odoo-title.png diff --git a/odoo-debrand/static/description/powered.png b/odoo-debrand/description/powered.png similarity index 100% rename from odoo-debrand/static/description/powered.png rename to odoo-debrand/description/powered.png diff --git a/odoo-debrand/static/description/settings-dashboard.png b/odoo-debrand/description/settings-dashboard.png similarity index 100% rename from odoo-debrand/static/description/settings-dashboard.png rename to odoo-debrand/description/settings-dashboard.png diff --git a/odoo-debrand/static/description/warning.png b/odoo-debrand/description/warning.png similarity index 100% rename from odoo-debrand/static/description/warning.png rename to odoo-debrand/description/warning.png diff --git a/odoo-debrand/static/description/website_footer.png b/odoo-debrand/description/website_footer.png similarity index 100% rename from odoo-debrand/static/description/website_footer.png rename to odoo-debrand/description/website_footer.png diff --git a/odoo-debrand/doc/changelog.rst b/odoo-debrand/doc/changelog.rst new file mode 100644 index 000000000..90b9df558 --- /dev/null +++ b/odoo-debrand/doc/changelog.rst @@ -0,0 +1,7 @@ +Changelog +========= + +`10.0.2.0.0` +------------ +- Fixed Crash Issue on Un-installing. + diff --git a/odoo-debrand/models/__init__.py b/odoo-debrand/models/__init__.py index 5305644df..77bbdbd39 100644 --- a/odoo-debrand/models/__init__.py +++ b/odoo-debrand/models/__init__.py @@ -1,3 +1,4 @@ # -*- coding: utf-8 -*- -from . import models \ No newline at end of file +from . import models + diff --git a/odoo-debrand/static/src/js/title.js b/odoo-debrand/static/src/js/title.js deleted file mode 100644 index b5c801832..000000000 --- a/odoo-debrand/static/src/js/title.js +++ /dev/null @@ -1,54 +0,0 @@ -odoo.define('odoo-debrand.title', function(require) { - var core = require('web.core'); - var utils = require('web.utils'); - var QWeb = core.qweb; - var _t = core._t; - var ajax = require('web.ajax'); - var Dialog = require('web.Dialog'); - var WebClient = require('web.AbstractWebClient'); - var CrashManager = require('web.CrashManager'); - var Model = require('web.Model'); - WebClient.include({ - init: function(parent) { - this.client_options = {}; - this._super(parent); - this.origin = undefined; - this._current_state = null; - this.menu_dm = new utils.DropMisordered(); - this.action_mutex = new utils.Mutex(); - var self = this; - new Model("website").call("search_read",[[], ['company_name']]).then(function (res) { - self.set('title_part', {"zopenerp": res && res[0] && res[0].company_name || ''}); - }); - }, - }); - CrashManager.include({ - show_warning: function(error) { - if (!this.active) { - return; - } - new Dialog(this, { - size: 'medium', - title: (_.str.capitalize(error.type) || _t("Warning")), - subtitle: error.data.title, - $content: $('
').html(QWeb.render('CrashManager.warning', {error: error})) - }).open(); - }, - show_error: function(error) { - if (!this.active) { - return; - } - new Dialog(this, { - title: _.str.capitalize(error.type), - $content: QWeb.render('CrashManager.error', {error: error}) - }).open(); - }, - show_message: function(exception) { - this.show_error({ - type: _t("Client Error"), - message: exception, - data: {debug: ""} - }); - }, - }); -}); diff --git a/odoo-debrand/static/src/xml/base.xml b/odoo-debrand/static/src/xml/base.xml deleted file mode 100644 index c72f1d30d..000000000 --- a/odoo-debrand/static/src/xml/base.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - -
- - - - - - Your permission is required to enable desktop notifications. - - - \ No newline at end of file diff --git a/odoo-debrand/views/templates.xml b/odoo-debrand/views/templates.xml deleted file mode 100644 index 71a9d511c..000000000 --- a/odoo-debrand/views/templates.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/odoo-debrand/views/views.xml b/odoo-debrand/views/views.xml index afb73f2ea..578e39bbb 100644 --- a/odoo-debrand/views/views.xml +++ b/odoo-debrand/views/views.xml @@ -1,97 +1,100 @@ - - - + + Debranding Configuration website.config.settings - - -