diff --git a/web_timeline/README.rst b/web_timeline/README.rst index e240b0e7b..22f1dd4cd 100644 --- a/web_timeline/README.rst +++ b/web_timeline/README.rst @@ -7,7 +7,7 @@ Web timeline !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:c98349a3ecce77055de31e35bcfed7720875dda935b668df3538607d27786f16 + !! source digest: sha256:c8e10e3103493634358e7e4c5c47260adc4c15c6c555d66c4e05e909f88b118a !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png @@ -81,7 +81,9 @@ These are the variables available in template rendering: You also need to declare the view in an action window of the involved model. -Example: +See ``web_timeline/demo/ir_cron_view.xml`` for a very basic timeline view example added onto cron tasks. + +More evolved example, from ``project_timeline``: .. code-block:: xml diff --git a/web_timeline/__manifest__.py b/web_timeline/__manifest__.py index 1be8469b0..81e2b4a46 100644 --- a/web_timeline/__manifest__.py +++ b/web_timeline/__manifest__.py @@ -4,7 +4,7 @@ { "name": "Web timeline", "summary": "Interactive visualization chart to show events in time", - "version": "16.0.1.0.4", + "version": "16.0.1.1.0", "development_status": "Production/Stable", "author": "ACSONE SA/NV, " "Tecnativa, " @@ -17,6 +17,7 @@ "website": "https://github.com/OCA/web", "depends": ["web"], "data": [], + "demo": ["demo/ir_cron_view.xml"], "maintainers": ["tarteo"], "application": False, "installable": True, diff --git a/web_timeline/demo/ir_cron_view.xml b/web_timeline/demo/ir_cron_view.xml new file mode 100644 index 000000000..584b597b9 --- /dev/null +++ b/web_timeline/demo/ir_cron_view.xml @@ -0,0 +1,14 @@ + + + + + ir.cron + timeline + + + + + + tree,form,calendar,timeline + + diff --git a/web_timeline/readme/CONFIGURE.rst b/web_timeline/readme/CONFIGURE.rst index db4147293..49a9334b1 100644 --- a/web_timeline/readme/CONFIGURE.rst +++ b/web_timeline/readme/CONFIGURE.rst @@ -38,7 +38,9 @@ These are the variables available in template rendering: You also need to declare the view in an action window of the involved model. -Example: +See ``web_timeline/demo/ir_cron_view.xml`` for a very basic timeline view example added onto cron tasks. + +More evolved example, from ``project_timeline``: .. code-block:: xml diff --git a/web_timeline/static/description/index.html b/web_timeline/static/description/index.html index 79c0d5c10..3a0ce5996 100644 --- a/web_timeline/static/description/index.html +++ b/web_timeline/static/description/index.html @@ -366,7 +366,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:c98349a3ecce77055de31e35bcfed7720875dda935b668df3538607d27786f16 +!! source digest: sha256:c8e10e3103493634358e7e4c5c47260adc4c15c6c555d66c4e05e909f88b118a !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Production/Stable License: AGPL-3 OCA/web Translate me on Weblate Try me on Runboat

Define a new view displaying events in an interactive visualization chart.

@@ -460,7 +460,8 @@ These are the variables available in template rendering:

  • field_utils: used to format and parse values (see available functions in web.field_utils).
  • You also need to declare the view in an action window of the involved model.

    -

    Example:

    +

    See web_timeline/demo/ir_cron_view.xml for a very basic timeline view example added onto cron tasks.

    +

    More evolved example, from project_timeline:

     <?xml version="1.0" encoding="utf-8"?>
     <odoo>