[MIG] project_only_current_project_tasks_as_parent: migrate to 18.0

migrates add-on project_parent_task to 18.0 and change the add-on name
for more understanding.
This commit is contained in:
Stéphan Sainléger
2026-01-20 17:19:47 +01:00
parent 8ab14340f1
commit a97bd8ecca
4 changed files with 94 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<record model="ir.ui.view" id="view_tasks_form2_parent_project_inherited">
<field name="name">view.tasks.form2.parent.project.inherited</field>
<field name="model">project.task</field>
<field name="inherit_id" ref="project.view_task_form2" />
<field name="arch" type="xml">
<xpath expr="//page[@name='extra_info']//field[@name='parent_id']" position="attributes">
<attribute name="domain">[('project_id','=', project_id), ('stage_id.fold', '=', False)]</attribute>
</xpath>
</field>
</record>
</odoo>