mirror of https://github.com/OCA/web.git
commit
ea0b6153a1
|
@ -1,10 +1,11 @@
|
|||
# Do NOT update manually; changes here will be overwritten by Copier
|
||||
_commit: v1.12.0
|
||||
_commit: v1.14.2
|
||||
_src_path: gh:oca/oca-addons-repo-template
|
||||
ci: GitHub
|
||||
dependency_installation_mode: PIP
|
||||
generate_requirements_txt: true
|
||||
github_check_license: true
|
||||
github_ci_extra_env: {}
|
||||
github_enable_codecov: true
|
||||
github_enable_makepot: true
|
||||
github_enable_stale_action: true
|
||||
|
|
|
@ -11,7 +11,7 @@ on:
|
|||
|
||||
jobs:
|
||||
pre-commit:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v4
|
||||
|
|
|
@ -28,7 +28,7 @@ jobs:
|
|||
fi
|
||||
done
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
container: ${{ matrix.container }}
|
||||
name: ${{ matrix.name }}
|
||||
strategy:
|
||||
|
|
|
@ -101,7 +101,7 @@ repos:
|
|||
- id: pyupgrade
|
||||
args: ["--keep-percent-format"]
|
||||
- repo: https://github.com/PyCQA/isort
|
||||
rev: 5.5.1
|
||||
rev: 5.12.0
|
||||
hooks:
|
||||
- id: isort
|
||||
name: isort except __init__.py
|
||||
|
|
|
@ -227,7 +227,11 @@ odoo.define("web_timeline.TimelineRenderer", function (require) {
|
|||
this.qweb.add_template(tmpl);
|
||||
}
|
||||
|
||||
this.timeline = new vis.Timeline(this.$timeline.get(0));
|
||||
this.timeline = new vis.Timeline(
|
||||
this.$timeline.get(0),
|
||||
{},
|
||||
{xss: {disabled: true}}
|
||||
);
|
||||
this.timeline.setOptions(this.options);
|
||||
if (this.mode && this["on_scale_" + this.mode + "_clicked"]) {
|
||||
this["on_scale_" + this.mode + "_clicked"]();
|
||||
|
|
Loading…
Reference in New Issue