forked from OCA/web
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIG] web_widget_plotly_chart: Migration to 14.0
- Loading branch information
Showing
7 changed files
with
90 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
You need to install the python plotly library:: | ||
|
||
pip3 install plotly==4.1.0 | ||
pip3 install plotly==5.4.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 0 additions & 7 deletions
7
web_widget_plotly_chart/static/lib/plotly/plotly-latest.min.js
This file was deleted.
Oops, something went wrong.
65 changes: 65 additions & 0 deletions
65
web_widget_plotly_chart/static/src/lib/plotly/plotly-2.7.0.min.js
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo> | ||
<template id="assets_backend" inherit_id="web.assets_backend"> | ||
<xpath expr="//script[last()]" position="after"> | ||
|
||
<template | ||
id="assets_backend" | ||
name="web_widget_plotly_chart assets" | ||
inherit_id="web.assets_backend" | ||
> | ||
<xpath expr="." position="inside"> | ||
<!-- Library --> | ||
<script | ||
type="text/javascript" | ||
src="/web_widget_plotly_chart/static/lib/plotly/plotly-latest.min.js" | ||
src="/web_widget_plotly_chart/static/src/lib/plotly/plotly-2.7.0.min.js" | ||
/> | ||
|
||
<!-- Widget --> | ||
<script | ||
type="text/javascript" | ||
src="/web_widget_plotly_chart/static/src/js/widget_plotly.js" | ||
/> | ||
|
||
</xpath> | ||
</template> | ||
</odoo> |