Skip to content
Snippets Groups Projects
Commit ed97d0d6c4ce authored by oury.balde's avatar oury.balde
Browse files

Port to odoo 11.0

parent 50f27d174637
No related branches found
No related tags found
1 merge request!3Port to odoo 11.0
include:
- project: xcg/ci-templates
file: /odoo/13.0/gitlab-ci.yaml
file: /odoo/11.0/gitlab-ci.yaml
......@@ -2,6 +2,6 @@
Changelog
=========
13.0.1.0.0
11.0.1.0.0
----------
......@@ -6,3 +6,3 @@
----------
Initial version.
Port to Odoo 11.0 - TG-1249.
......@@ -3,7 +3,7 @@
=======
.. |coverage| image:: .badges/coverage.svg
:target: https://orus.io/xcg/odoo-modules/version/-/pipelines?ref=branch/13.0
:target: https://orus.io/xcg/odoo-modules/version/-/pipelines?ref=branch/11.0
:alt: Coverage report
.. the image is updated by the CI when building the documentation
.. |pylint| image:: .badges/pylint.svg
......@@ -7,7 +7,7 @@
:alt: Coverage report
.. the image is updated by the CI when building the documentation
.. |pylint| image:: .badges/pylint.svg
:target: https://orus.io/xcg/odoo-modules/version/-/pipelines?ref=branch/13.0
:target: https://orus.io/xcg/odoo-modules/version/-/pipelines?ref=branch/11.0
:alt: pylint score
.. |maturity| image:: .badges/maturity.svg
:target: https://odoo-community.org/page/development-status
......@@ -26,4 +26,4 @@
This module display a version number on all pages.
Reuse AGPL-3 code from `smile_upgrade <https://github.com/Smile-SA/odoo_addons/tree/13.0/smile_upgrade>`_ and inspired by `camptocamp_tools <https://github.com/camptocamp/odoo-tools/blob/15.0/camptocamp_tools/controllers/camptocamp_version.py>`_.
Reuse AGPL-3 code from `smile_upgrade <https://github.com/Smile-SA/odoo_addons/tree/11.0/smile_upgrade>`_ and inspired by `camptocamp_tools <https://github.com/camptocamp/odoo-tools/blob/15.0/camptocamp_tools/controllers/camptocamp_version.py>`_.
......@@ -21,7 +21,7 @@
{
"name": "Version",
"license": "AGPL-3",
"version": "13.0.1.0.0",
"version": "11.0.1.0.0",
"category": "Technical",
"author": ["Smile", "XCG Consulting"],
"website": "https://odoo.consulting/",
......
......@@ -4,7 +4,7 @@
var rpc = require("web.rpc");
var SystrayMenu = require("web.SystrayMenu");
var Widget = require("web.Widget");
const config = require("web.config");
var session = require("web.session");
var DisplayCodeVersion = Widget.extend({
template: "DisplayCodeVersion",
......@@ -15,7 +15,7 @@
method: "get_value",
}).then(function (code_version_tuple) {
self.$(".code_version").html(code_version_tuple[0]);
if (config.isDebug()) {
if (session.debug) {
self.$(".code_version_title").attr("title", code_version_tuple[1]);
}
});
......
......@@ -2,12 +2,7 @@
<templates>
<t t-name="DisplayCodeVersion">
<li>
<a
class="o-no-caret code_version_title"
href="#"
role="status"
title="Version"
>
<a class="code_version_title" href="#" role="status" title="Version">
<i class="fa fa-code-fork" aria-label="Version" />
<span class="code_version" />
</a>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment