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.

79 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. Example:
  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
  41. <https://github.com/OCA/web/issues>`_. In case of trouble, please
  42. check there if your issue has already been reported. If you spotted it first,
  43. help us smashing it by providing a detailed and welcomed feedback.
  44. Credits
  45. =======
  46. Images
  47. ------
  48. * Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.
  49. Contributors
  50. ------------
  51. * Laurent Mignon <laurent.mignon@acsone.eu>
  52. * Adrien Peiffer <adrien.peiffer@acsone.eu>
  53. Maintainer
  54. ----------
  55. .. image:: https://odoo-community.org/logo.png
  56. :alt: Odoo Community Association
  57. :target: https://odoo-community.org
  58. This module is maintained by the OCA.
  59. 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.
  60. To contribute to this module, please visit https://odoo-community.org.