[IMP] project: Display tasks label on rating stat button
Added label_tasks in task form view for rating closes #22895
This commit is contained in:
committed by
Yannick Tivisse
parent
9ffb51e1c2
commit
e293cdafb1
@@ -111,7 +111,14 @@
|
||||
<field string="Tasks" name="task_count" widget="statinfo" options="{'label_field': 'label_tasks'}"/>
|
||||
</button>
|
||||
<button name="action_view_all_rating" type="object" attrs="{'invisible': ['|', '|', ('rating_status', '=', 'no'), ('percentage_satisfaction_task', '=', -1)]}" class="oe_stat_button oe_percent" icon="fa-smile-o" groups="project.group_project_rating">
|
||||
<field string="% On tasks" name="percentage_satisfaction_task" widget="statinfo"/>
|
||||
<div class="o_field_widget o_stat_info">
|
||||
<span class="o_stat_value">
|
||||
<field name="percentage_satisfaction_task" nolabel="1"/>
|
||||
</span>
|
||||
<span class="o_stat_text">
|
||||
% On <field readonly="1" name="label_tasks" options="{'label_field': 'label_tasks'}" />
|
||||
</span>
|
||||
</div>
|
||||
</button>
|
||||
<button name="toggle_active" type="object"
|
||||
confirm="(Un)archiving a project automatically (un)archives its tasks and issues. Do you want to proceed?"
|
||||
|
||||
Reference in New Issue
Block a user