Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion web_timeline/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Web timeline
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:8e924b9efca82a984493ec9841bfc34a73d1cff5b32a6ef01d5d8e83176bd6d2
!! source digest: sha256:d4bc9564539d00ee8f4b7727eae4a2043faf0c2a5543639944e2c74ff08df04c
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
Expand Down Expand Up @@ -306,6 +306,10 @@ Contributors

- Houzéfa Abbasbhay

- `PyTech <https://www.pytech.it>`__:

- Simone Rubino <simone.rubino@pytech.it>

Maintainers
-----------

Expand Down
19 changes: 16 additions & 3 deletions web_timeline/demo/ir_cron_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,20 @@
<timeline date_start="nextcall" default_group_by="model_id" />
</field>
</record>
<record id="base.ir_cron_act" model="ir.actions.act_window">
<field name="view_mode">tree,form,calendar,timeline</field>
</record>
<!-- Append our view_mode this way to avoid overwriting changes done by other modules. -->
<function model="ir.actions.act_window" name="write">
<value eval="[ref('base.ir_cron_act')]" />
<value
model="ir.actions.act_window"
eval="{
'view_mode': obj().env.ref('base.ir_cron_act').view_mode + ',timeline',
'view_ids': [
Command.create({
'view_mode': 'timeline',
'view_id': ref('ir_cron_timeline'),
}),
],
}"
/>
</function>
</odoo>
1 change: 1 addition & 0 deletions web_timeline/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Copyright 2016 ACSONE SA/NV (<http://acsone.eu>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from . import ir_actions
from . import ir_ui_view
from . import ir_action
8 changes: 8 additions & 0 deletions web_timeline/models/ir_actions.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copyright 2026 Simone Rubino - PyTech
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from odoo.addons.base.models.ir_actions import VIEW_TYPES

from .ir_ui_view import TIMELINE_VIEW

VIEW_TYPES.append(TIMELINE_VIEW)
2 changes: 2 additions & 0 deletions web_timeline/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@
- Anjeel Haria
- [XCG Consulting](https://xcg-consulting.fr):
- Houzéfa Abbasbhay
- [PyTech](https://www.pytech.it):
- Simone Rubino \<<simone.rubino@pytech.it>\>
6 changes: 5 additions & 1 deletion web_timeline/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ <h1 class="title">Web timeline</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:8e924b9efca82a984493ec9841bfc34a73d1cff5b32a6ef01d5d8e83176bd6d2
!! source digest: sha256:d4bc9564539d00ee8f4b7727eae4a2043faf0c2a5543639944e2c74ff08df04c
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/web/tree/17.0/web_timeline"><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-17-0/web-17-0-web_timeline"><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=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>Define a new view displaying events in an interactive visualization
Expand Down Expand Up @@ -677,6 +677,10 @@ <h2><a class="toc-backref" href="#toc-entry-7">Contributors</a></h2>
<li>Houzéfa Abbasbhay</li>
</ul>
</li>
<li><a class="reference external" href="https://www.pytech.it">PyTech</a>:<ul>
<li>Simone Rubino &lt;<a class="reference external" href="mailto:simone.rubino&#64;pytech.it">simone.rubino&#64;pytech.it</a>&gt;</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="maintainers">
Expand Down
Loading