Skip to content

Commit

Permalink
Add start and end date in task form view (OCA#324)
Browse files Browse the repository at this point in the history
* [IMP] Add start and end date in task form view

* [IMP] Add start and end date in task form view
  • Loading branch information
Doscaal authored and cesar-tecnativa committed Jul 5, 2022
1 parent 3f046ac commit 6193597
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions project_timeline/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Contributors

* Pedro M. Baeza <[email protected]>
* Carlos Dauden <[email protected]>
* Alexandre Moreau <[email protected]>

Maintainer
----------
Expand Down
2 changes: 1 addition & 1 deletion project_timeline/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{
"name": "Project timeline",
"summary": "Timeline view for projects",
"version": "10.0.1.0.0",
"version": "10.0.1.1.0",
"category": "Project Management",
"website": "https://www.tecnativa.com",
"author": "Tecnativa, "
Expand Down
13 changes: 13 additions & 0 deletions project_timeline/views/project_task_view.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2016-2017 Tecnativa - Pedro M. Baeza
Copyright 2017 Tecnativa - Carlos Dauden
Copyright 2017 Doscaal - Alexandre Moreau
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -->

<odoo>
Expand All @@ -26,4 +27,16 @@
<field name="view_mode">kanban,tree,form,calendar,timeline,pivot,graph</field>
</record>

<record id="view_task_form2" model="ir.ui.view">
<field name="name">project.task.form</field>
<field name="model">project.task</field>
<field name="inherit_id" ref="project.view_task_form2"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='date_assign']" position="before">
<field name="date_start"/>
<field name="date_end"/>
</xpath>
</field>
</record>

</odoo>

0 comments on commit 6193597

Please sign in to comment.