diff --git a/.travis.yml b/.travis.yml index 3cf4f56..99a5815 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,7 @@ cache: - $HOME/.cache/pip python: - - "2.7" + - "3.5" addons: apt: @@ -31,8 +31,6 @@ env: - TESTS="1" ODOO_REPO="odoo/odoo" - TESTS="1" ODOO_REPO="OCA/OCB" -virtualenv: - system_site_packages: true install: - git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools diff --git a/website_theme_flexible/__manifest__.py b/website_theme_flexible/__manifest__.py index 68e19b7..3490bcf 100644 --- a/website_theme_flexible/__manifest__.py +++ b/website_theme_flexible/__manifest__.py @@ -5,7 +5,7 @@ 'name': 'Theme Flexible', 'summary': 'Theme Flexible is exceptionally configurable.', 'category': 'Theme', - 'version': '11.0.1.0.0', + 'version': '11.0.1.0.1', 'author': 'Onestein, Odoo Community Association (OCA)', 'license': 'AGPL-3', 'website': 'https://github.com/OCA/website', diff --git a/website_theme_flexible/static/src/js/website_theme_flexible.frontend.js b/website_theme_flexible/static/src/js/website_theme_flexible.frontend.js index 5e69f52..1038def 100644 --- a/website_theme_flexible/static/src/js/website_theme_flexible.frontend.js +++ b/website_theme_flexible/static/src/js/website_theme_flexible.frontend.js @@ -7,13 +7,11 @@ odoo.define('website_theme_flexible.frontend', function(require) { var base = require('web_editor.base'); base.ready().then(function () { - var header = $('header'); var navbar = $('header > .navbar'); if (navbar.attr('data-do-stick') === '1') { - var navbar_clone = navbar.clone(); - navbar_clone.addClass('navbar-fixed-top'); - header.append(navbar_clone); + //TODO: Add nice animation + navbar.addClass('navbar-fixed-top'); } }); });