Skip to content

Commit a5f9c86

Browse files
committed
[MIG] project_subtask_parent_identification: Migration to 18.0
1 parent 700ef73 commit a5f9c86

File tree

5 files changed

+7
-36
lines changed

5 files changed

+7
-36
lines changed

project_subtask_parent_identification/README.rst

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,7 @@ Configuration
3535

3636
To configure this module, you need to:
3737

38-
Activate subtasks in projects:
39-
40-
1. Go to Settings -> Projects
41-
2. Activate the option to use subtasks.
42-
43-
Activate the subtasks in each project:
44-
45-
1. Go to Projects
46-
2. Enter the configuration of a specific project
47-
3. Activate the option to use subtasks
38+
- No configuration needed
4839

4940
Usage
5041
=====

project_subtask_parent_identification/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{
55
"name": "Project Subtask Parent Identification",
66
"summary": "Project Subtask Parent Identification",
7-
"version": "16.0.1.0.0",
7+
"version": "18.0.1.0.0",
88
"category": "Project",
99
"website": "https://github.com/sygel-technology/sy-project",
1010
"author": "Sygel, Odoo Community Association (OCA)",
Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
11
To configure this module, you need to:
22

3-
Activate subtasks in projects:
4-
5-
1. Go to Settings -\> Projects
6-
2. Activate the option to use subtasks.
7-
8-
Activate the subtasks in each project:
9-
10-
1. Go to Projects
11-
2. Enter the configuration of a specific project
12-
3. Activate the option to use subtasks
3+
- No configuration needed

project_subtask_parent_identification/static/description/index.html

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -389,17 +389,9 @@ <h1 class="title">Project Subtask Parent Identification</h1>
389389
<div class="section" id="configuration">
390390
<h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
391391
<p>To configure this module, you need to:</p>
392-
<p>Activate subtasks in projects:</p>
393-
<ol class="arabic simple">
394-
<li>Go to Settings -&gt; Projects</li>
395-
<li>Activate the option to use subtasks.</li>
396-
</ol>
397-
<p>Activate the subtasks in each project:</p>
398-
<ol class="arabic simple">
399-
<li>Go to Projects</li>
400-
<li>Enter the configuration of a specific project</li>
401-
<li>Activate the option to use subtasks</li>
402-
</ol>
392+
<ul class="simple">
393+
<li>No configuration needed</li>
394+
</ul>
403395
</div>
404396
<div class="section" id="usage">
405397
<h1><a class="toc-backref" href="#toc-entry-2">Usage</a></h1>

project_subtask_parent_identification/views/project_task_views.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,7 @@
1717
<field name="arch" type="xml">
1818
<xpath expr="//field[@name='sy_id']" position="after">
1919
<span style="font-weight: normal;">
20-
<field
21-
name="sy_parent_id"
22-
attrs="{'invisible': [('sy_parent_id', '=', False)]}"
23-
/>
20+
<field name="sy_parent_id" invisible="not sy_parent_id" />
2421
</span>
2522
</xpath>
2623
</field>

0 commit comments

Comments
 (0)