Implement Kitchen Display System (KDS) dashboard with kanban, tree, and search views for POS order lines.

This commit is contained in:
Alaguraj0361 2026-03-24 10:50:27 +05:30
parent 2498c50960
commit f8958c1ebf

View File

@ -12,8 +12,8 @@
<field name="order_id"/>
<field name="table_id"/>
<field name="floor_id"/>
<field name="order_source"/>
<field name="fulfilment_type"/>
<!-- <field name="order_source"/> -->
<!-- <field name="fulfilment_type"/> -->
<field name="customer_note"/>
<field name="create_date"/>
<templates>
@ -44,14 +44,14 @@
<span><i class="fa fa-clock-o me-1" title="Time"/> <field name="create_date"/></span>
<span class="text-uppercase fw-bold" style="font-size: 0.7rem;"><field name="floor_id"/></span>
</div>
<div class="d-flex justify-content-between align-items-center">
<!-- <div class="d-flex justify-content-between align-items-center">
<span t-if="record.order_source.raw_value" class="badge bg-info-light text-info border-info" style="font-size: 0.65rem; background: rgba(23, 162, 184, 0.1);">
<i class="fa fa-plug me-1" title="Source"/> <field name="order_source"/>
</span>
<span t-if="record.fulfilment_type.raw_value" class="badge bg-warning-light text-warning border-warning" style="font-size: 0.65rem; background: rgba(254, 205, 79, 0.1);">
<i class="fa fa-truck me-1" title="Fulfilment"/> <field name="fulfilment_type"/>
</span>
</div>
</div> -->
</div>
<div class="o_kanban_record_bottom border-top pt-3 mt-2">
@ -91,8 +91,8 @@
<field name="arch" type="xml">
<tree string="Kitchen Orders" create="false" edit="false" decoration-info="preparation_status == 'preparing'" decoration-success="preparation_status == 'ready'" decoration-muted="preparation_status == 'served'">
<field name="order_id"/>
<field name="order_source" widget="badge"/>
<field name="fulfilment_type" widget="badge"/>
<!-- <field name="order_source" widget="badge"/>
<field name="fulfilment_type" widget="badge"/> -->
<field name="floor_id"/>
<field name="table_id"/>
<field name="product_id"/>