[ADD] project_request_data: add service and request type to kanban view

This commit is contained in:
2023-09-14 12:06:44 +02:00
parent f251fdac1e
commit 7763038687
2 changed files with 12 additions and 1 deletions

View File

@@ -3,7 +3,7 @@
{
"name": "project_request_data",
"version": "14.0.1.0.0",
"version": "14.0.1.1.0",
"author": "Elabore",
"website": "https://elabore.coop",
"maintainer": "Stéphan Sainléger",

View File

@@ -12,4 +12,15 @@
</xpath>
</field>
</record>
<record id="view_task_kanban_request_data" model="ir.ui.view">
<field name="name">project.task.kanban.request.data</field>
<field name="inherit_id" ref="project.view_task_kanban" />
<field name="model">project.task</field>
<field name="arch" type="xml">
<xpath expr="//field[@name='tag_ids']" position="before">
<span style="background:lightblue; font-size:11px"><field name="service_id"/></span>
<span style="background:lightsteelblue; font-size:11px"><field name="request_type_id"/></span>
</xpath>
</field>
</record>
</odoo>