Skip to content

Commit 94beeea

Browse files
[MIG] web_widget_bokeh_chart: Migration to 19.0
1 parent 0886e72 commit 94beeea

11 files changed

Lines changed: 1268 additions & 1221 deletions

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# generated from manifests external_dependencies
2-
bokeh==3.6.3
2+
bokeh==3.9.0

web_widget_bokeh_chart/README.rst

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
.. image:: https://odoo-community.org/readme-banner-image
2+
:target: https://odoo-community.org/get-involved?utm_source=readme
3+
:alt: Odoo Community Association
4+
15
======================
26
Web Widget Bokeh Chart
37
======================
@@ -13,17 +17,17 @@ Web Widget Bokeh Chart
1317
.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
1418
:target: https://odoo-community.org/page/development-status
1519
:alt: Production/Stable
16-
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
20+
.. |badge2| image:: https://img.shields.io/badge/license-LGPL--3-blue.png
1721
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
1822
:alt: License: LGPL-3
1923
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github
20-
:target: https://github.com/OCA/web/tree/18.0/web_widget_bokeh_chart
24+
:target: https://github.com/OCA/web/tree/19.0/web_widget_bokeh_chart
2125
:alt: OCA/web
2226
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23-
:target: https://translation.odoo-community.org/projects/web-18-0/web-18-0-web_widget_bokeh_chart
27+
:target: https://translation.odoo-community.org/projects/web-19-0/web-19-0-web_widget_bokeh_chart
2428
:alt: Translate me on Weblate
2529
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26-
:target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=18.0
30+
:target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=19.0
2731
:alt: Try me on Runboat
2832

2933
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -45,7 +49,7 @@ applications.
4549
If you want to see some samples of bokeh's capabilities follow this
4650
`link <https://bokeh.pydata.org/en/latest/docs/gallery.html>`__.
4751

48-
.. |Bokeh Chart inserted into an Odoo view| image:: https://raw.githubusercontent.com/OCA/web/18.0/web_widget_bokeh_chart/static/description/example.png
52+
.. |Bokeh Chart inserted into an Odoo view| image:: https://raw.githubusercontent.com/OCA/web/19.0/web_widget_bokeh_chart/static/description/example.png
4953

5054
**Table of contents**
5155

@@ -161,7 +165,7 @@ Bug Tracker
161165
Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/issues>`_.
162166
In case of trouble, please check there if your issue has already been reported.
163167
If you spotted it first, help us to smash it by providing a detailed and welcomed
164-
`feedback <https://github.com/OCA/web/issues/new?body=module:%20web_widget_bokeh_chart%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
168+
`feedback <https://github.com/OCA/web/issues/new?body=module:%20web_widget_bokeh_chart%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
165169

166170
Do not contact contributors directly about support or help with technical issues.
167171

@@ -218,6 +222,6 @@ Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:
218222

219223
|maintainer-LoisRForgeFlow| |maintainer-JasminSForgeFlow|
220224

221-
This module is part of the `OCA/web <https://github.com/OCA/web/tree/18.0/web_widget_bokeh_chart>`_ project on GitHub.
225+
This module is part of the `OCA/web <https://github.com/OCA/web/tree/19.0/web_widget_bokeh_chart>`_ project on GitHub.
222226

223227
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

web_widget_bokeh_chart/__manifest__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
"category": "Hidden",
77
"summary": "This widget allows to display charts using Bokeh library.",
88
"author": "ForgeFlow, Odoo Community Association (OCA), Creu Blanca",
9-
"version": "18.0.1.0.1",
9+
"version": "19.0.1.0.1",
1010
"maintainers": ["LoisRForgeFlow", "JasminSForgeFlow"],
1111
"development_status": "Production/Stable",
1212
"website": "https://github.com/OCA/web",
1313
"depends": ["web"],
1414
"data": [],
15-
"external_dependencies": {"python": ["bokeh==3.6.3"]},
15+
"external_dependencies": {"python": ["bokeh==3.9.0"]},
1616
"auto_install": False,
1717
"license": "LGPL-3",
1818
"assets": {

web_widget_bokeh_chart/static/description/index.html

Lines changed: 24 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
55
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
6-
<title>Web Widget Bokeh Chart</title>
6+
<title>README.rst</title>
77
<style type="text/css">
88

99
/*
@@ -360,19 +360,24 @@
360360
</style>
361361
</head>
362362
<body>
363-
<div class="document" id="web-widget-bokeh-chart">
364-
<h1 class="title">Web Widget Bokeh Chart</h1>
363+
<div class="document">
365364

365+
366+
<a class="reference external image-reference" href="https://odoo-community.org/get-involved?utm_source=readme">
367+
<img alt="Odoo Community Association" src="https://odoo-community.org/readme-banner-image" />
368+
</a>
369+
<div class="section" id="web-widget-bokeh-chart">
370+
<h1>Web Widget Bokeh Chart</h1>
366371
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
367372
!! This file is generated by oca-gen-addon-readme !!
368373
!! changes will be overwritten. !!
369374
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370375
!! source digest: sha256:68a7602ff694c2f64f58b06737f39dd42cd2e76bce05f95ef2b540124ff0d98f
371376
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372-
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/web/tree/18.0/web_widget_bokeh_chart"><img alt="OCA/web" src="https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/web-18-0/web-18-0-web_widget_bokeh_chart"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/web&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
377+
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/license-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/web/tree/19.0/web_widget_bokeh_chart"><img alt="OCA/web" src="https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/web-19-0/web-19-0-web_widget_bokeh_chart"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/web&amp;target_branch=19.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373378
<p>This module add the possibility to insert Bokeh charts into Odoo
374379
standard views.</p>
375-
<p><img alt="Bokeh Chart inserted into an Odoo view" src="https://raw.githubusercontent.com/OCA/web/18.0/web_widget_bokeh_chart/static/description/example.png" /></p>
380+
<p><img alt="Bokeh Chart inserted into an Odoo view" src="https://raw.githubusercontent.com/OCA/web/19.0/web_widget_bokeh_chart/static/description/example.png" /></p>
376381
<p><a class="reference external" href="https://bokeh.pydata.org">Bokeh</a> is a Python interactive
377382
visualization library that targets modern web browsers for presentation.
378383
Its goal is to provide elegant, concise construction of basic
@@ -404,17 +409,17 @@ <h1 class="title">Web Widget Bokeh Chart</h1>
404409
</ul>
405410
</div>
406411
<div class="section" id="installation">
407-
<h1><a class="toc-backref" href="#toc-entry-1">Installation</a></h1>
412+
<h2><a class="toc-backref" href="#toc-entry-1">Installation</a></h2>
408413
<p>You need to install the python bokeh library:</p>
409414
<pre class="literal-block">
410415
pip3 install bokeh==3.1.1
411416
</pre>
412417
</div>
413418
<div class="section" id="usage">
414-
<h1><a class="toc-backref" href="#toc-entry-2">Usage</a></h1>
419+
<h2><a class="toc-backref" href="#toc-entry-2">Usage</a></h2>
415420
<p>To insert a Bokeh chart in a view proceed as follows:</p>
416421
<div class="section" id="using-a-char-field">
417-
<h2><a class="toc-backref" href="#toc-entry-3">Using a Char field</a></h2>
422+
<h3><a class="toc-backref" href="#toc-entry-3">Using a Char field</a></h3>
418423
<ol class="arabic">
419424
<li><p class="first">Declare a text computed field like this:</p>
420425
<pre class="literal-block">
@@ -455,7 +460,7 @@ <h2><a class="toc-backref" href="#toc-entry-3">Using a Char field</a></h2>
455460
</ol>
456461
</div>
457462
<div class="section" id="using-a-json-field">
458-
<h2><a class="toc-backref" href="#toc-entry-4">Using a Json field</a></h2>
463+
<h3><a class="toc-backref" href="#toc-entry-4">Using a Json field</a></h3>
459464
<ol class="arabic">
460465
<li><p class="first">Declare a json computed field like this:</p>
461466
<pre class="literal-block">
@@ -495,30 +500,30 @@ <h2><a class="toc-backref" href="#toc-entry-4">Using a Json field</a></h2>
495500
</div>
496501
</div>
497502
<div class="section" id="known-issues-roadmap">
498-
<h1><a class="toc-backref" href="#toc-entry-5">Known issues / Roadmap</a></h1>
503+
<h2><a class="toc-backref" href="#toc-entry-5">Known issues / Roadmap</a></h2>
499504
<ol class="arabic simple">
500505
<li>On 17, we could remove the char field and only use the Json Field</li>
501506
</ol>
502507
</div>
503508
<div class="section" id="bug-tracker">
504-
<h1><a class="toc-backref" href="#toc-entry-6">Bug Tracker</a></h1>
509+
<h2><a class="toc-backref" href="#toc-entry-6">Bug Tracker</a></h2>
505510
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/web/issues">GitHub Issues</a>.
506511
In case of trouble, please check there if your issue has already been reported.
507512
If you spotted it first, help us to smash it by providing a detailed and welcomed
508-
<a class="reference external" href="https://github.com/OCA/web/issues/new?body=module:%20web_widget_bokeh_chart%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
513+
<a class="reference external" href="https://github.com/OCA/web/issues/new?body=module:%20web_widget_bokeh_chart%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
509514
<p>Do not contact contributors directly about support or help with technical issues.</p>
510515
</div>
511516
<div class="section" id="credits">
512-
<h1><a class="toc-backref" href="#toc-entry-7">Credits</a></h1>
517+
<h2><a class="toc-backref" href="#toc-entry-7">Credits</a></h2>
513518
<div class="section" id="authors">
514-
<h2><a class="toc-backref" href="#toc-entry-8">Authors</a></h2>
519+
<h3><a class="toc-backref" href="#toc-entry-8">Authors</a></h3>
515520
<ul class="simple">
516521
<li>ForgeFlow</li>
517522
<li>Creu Blanca</li>
518523
</ul>
519524
</div>
520525
<div class="section" id="contributors">
521-
<h2><a class="toc-backref" href="#toc-entry-9">Contributors</a></h2>
526+
<h3><a class="toc-backref" href="#toc-entry-9">Contributors</a></h3>
522527
<ul class="simple">
523528
<li>Jordi Ballester Alomar &lt;<a class="reference external" href="mailto:jordi.ballester&#64;forgeflow.com">jordi.ballester&#64;forgeflow.com</a>&gt;</li>
524529
<li>Lois Rilo Antelo &lt;<a class="reference external" href="mailto:lois.rilo&#64;forgeflow.com">lois.rilo&#64;forgeflow.com</a>&gt;</li>
@@ -530,7 +535,7 @@ <h2><a class="toc-backref" href="#toc-entry-9">Contributors</a></h2>
530535
</ul>
531536
</div>
532537
<div class="section" id="other-credits">
533-
<h2><a class="toc-backref" href="#toc-entry-10">Other credits</a></h2>
538+
<h3><a class="toc-backref" href="#toc-entry-10">Other credits</a></h3>
534539
<ul class="simple">
535540
<li>This module uses the library
536541
<a class="reference external" href="https://github.com/bokeh/bokeh">Bokeh</a> which is under the
@@ -540,7 +545,7 @@ <h2><a class="toc-backref" href="#toc-entry-10">Other credits</a></h2>
540545
</ul>
541546
</div>
542547
<div class="section" id="maintainers">
543-
<h2><a class="toc-backref" href="#toc-entry-11">Maintainers</a></h2>
548+
<h3><a class="toc-backref" href="#toc-entry-11">Maintainers</a></h3>
544549
<p>This module is maintained by the OCA.</p>
545550
<a class="reference external image-reference" href="https://odoo-community.org">
546551
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
@@ -550,10 +555,11 @@ <h2><a class="toc-backref" href="#toc-entry-11">Maintainers</a></h2>
550555
promote its widespread use.</p>
551556
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainers</a>:</p>
552557
<p><a class="reference external image-reference" href="https://github.com/LoisRForgeFlow"><img alt="LoisRForgeFlow" src="https://github.com/LoisRForgeFlow.png?size=40px" /></a> <a class="reference external image-reference" href="https://github.com/JasminSForgeFlow"><img alt="JasminSForgeFlow" src="https://github.com/JasminSForgeFlow.png?size=40px" /></a></p>
553-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/web/tree/18.0/web_widget_bokeh_chart">OCA/web</a> project on GitHub.</p>
558+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/web/tree/19.0/web_widget_bokeh_chart">OCA/web</a> project on GitHub.</p>
554559
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
555560
</div>
556561
</div>
557562
</div>
563+
</div>
558564
</body>
559565
</html>

0 commit comments

Comments
 (0)