[FIX] project: stat button display

The stat button that displays the "Blocking Tasks", is not correctly
displayed since the changes made on the statinfo widget.

So we adapt it to make it more beautifull

closes odoo/odoo#125759

X-original-commit: dde96cff4cd71aa85526ca8a88bb52b6fd8b1cf7
Signed-off-by: Pierre Masereel (pim) <pim@odoo.com>
This commit is contained in:
Pierre Masereel
2023-06-20 18:01:53 +02:00
parent da85977e83
commit 732827a6b1
+1 -2
View File
@@ -294,10 +294,9 @@
</button>
<button name="action_dependent_tasks" type="object" attrs="{'invisible': [('dependent_tasks_count', '=', 0)]}" class="oe_stat_button" icon="fa-tasks" groups="project.group_project_task_dependencies">
<div class="o_field_widget o_stat_info">
<span class="o_stat_text">Blocking</span>
<span class="o_stat_text">Blocking Tasks</span>
<span class="o_stat_value ">
<field name="dependent_tasks_count" widget="statinfo" nolabel="1" />
Tasks
</span>
</div>
</button>