Skip to content

Commit

Permalink
[ADD]project_ux: planned_date_begin visible
Browse files Browse the repository at this point in the history
closes #116

X-original-commit: 294fa47
Signed-off-by: Bruno Zanotti <bz@adhoc.com.ar>
  • Loading branch information
jcadhoc committed Dec 18, 2023
1 parent 39480ea commit 92bbed6
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions project_ux/README.rst
Expand Up @@ -21,6 +21,7 @@ Several improvements to project:
#. Add a boolean toggle button called "Don´t send stage email" that gives the user the chance to avioid sending the email if the stage has an automatic template set. After the stage changes, this valure returns to false.
#. Add a button "i" in the card kanban view that links directly to the proyect updates.
#. Adds 3 new filters: "Is Task", "Is Sub-Task" & "Parent-Task".
#. Re-incorporates the Planned Date field in the task form view. In the migration to v16 this field was by default hidden, and the only way to see (and edit) this field was assigning a date in the gantt view first.

Installation
============
Expand Down
2 changes: 1 addition & 1 deletion project_ux/__manifest__.py
Expand Up @@ -19,7 +19,7 @@
##############################################################################
{
'name': 'Project UX',
'version': "16.0.1.1.0",
'version': "16.0.1.2.0",
'category': 'Project Management',
'sequence': 14,
'author': 'ADHOC SA',
Expand Down
14 changes: 14 additions & 0 deletions project_ux/views/project_task_views.xml
Expand Up @@ -52,4 +52,18 @@
'search_default_is_task': 1,
}</field>
</record>

<record id="project_task_view_form" model="ir.ui.view">
<field name="name">project.task.view.form</field>
<field name="model">project.task</field>
<field name="inherit_id" ref="project_enterprise.project_task_view_form"/>
<field name="arch" type="xml">
<label for="planned_date_begin" position="attributes">
<attribute name="attrs">{'invisible': []}</attribute>
</label>
<xpath expr="//field[@name='planned_date_begin']/../.." position="attributes">
<attribute name="attrs">{'invisible': []}</attribute>
</xpath>
</field>
</record>
</odoo>

0 comments on commit 92bbed6

Please sign in to comment.