You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

74 lines
2.6 KiB

  1. .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
  2. :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
  3. :alt: License: AGPL-3
  4. ===============
  5. Timeline Widget
  6. ===============
  7. Define a new widget displaying events in an interactive visualization chart.
  8. The widget is based on the external library
  9. http://visjs.org/timeline_examples.html
  10. Usage
  11. =====
  12. Exemple:
  13. <?xml version="1.0" encoding="utf-8"?>
  14. <openerp>
  15. <data>
  16. <record id="view_task_timeline" model="ir.ui.view">
  17. <field name="name">project.task.timeline</field>
  18. <field name="model">project.task</field>
  19. <field name="type">timeline</field>
  20. <field eval="2" name="priority"/>
  21. <field name="arch" type="xml">
  22. <timeline date_start="date_start"
  23. date_stop="date_end"
  24. date_delay='1'
  25. string="Tasks"
  26. default_group_by="user_id" event_open_popup="true" colors="#ec7063:user_id == false;#2ecb71:kanban_state=='done';">
  27. </timeline>
  28. </field>
  29. </record>
  30. <record id="project.action_view_task" model="ir.actions.act_window">
  31. <field name="view_mode">kanban,tree,form,calendar,gantt,timeline,graph</field>
  32. </record>
  33. </data>
  34. </openerp>
  35. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
  36. :alt: Try me on Runbot
  37. :target: https://runbot.odoo-community.org/runbot/162/8.0
  38. Bug Tracker
  39. ===========
  40. Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/issues>`_.
  41. In case of trouble, please check there if your issue has already been reported.
  42. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback
  43. `here <https://github.com/OCA/web/issues/new?body=module:%20web_timeline%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
  44. Credits
  45. =======
  46. Contributors
  47. ------------
  48. * Laurent Mignon <laurent.mignon@acsone.eu>
  49. * Adrien Peiffer <adrien.peiffer@acsone.eu>
  50. Maintainer
  51. ----------
  52. .. image:: https://odoo-community.org/logo.png
  53. :alt: Odoo Community Association
  54. :target: https://odoo-community.org
  55. This module is maintained by the OCA.
  56. OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
  57. To contribute to this module, please visit https://odoo-community.org.