diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2022-08-12 16:22:33 +0700 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2022-08-12 16:22:33 +0700 |
| commit | 57d450627013892f95bbdfd1cf0ba93eb8aebcf4 (patch) | |
| tree | ef5959bc8134f3caaada07ae21bdb33b5129eb52 /indoteknik_custom | |
| parent | 3cdd0e2c4ea2248a5f95ff91b9a9c4f0fdba17fa (diff) | |
Update status badge
Diffstat (limited to 'indoteknik_custom')
| -rw-r--r-- | indoteknik_custom/views/sale_monitoring.xml | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/indoteknik_custom/views/sale_monitoring.xml b/indoteknik_custom/views/sale_monitoring.xml index 50a3aaa5..275fd205 100644 --- a/indoteknik_custom/views/sale_monitoring.xml +++ b/indoteknik_custom/views/sale_monitoring.xml @@ -13,7 +13,13 @@ <field name="qty_po_received"/> <field name="qty_so_delivered"/> <field name="qty_so_invoiced"/> - <field name="status"/> + <field name="status" + widget="badge" + decoration-danger="status == 'Belum PO sama sekali' or status == 'Belum PO full'" + decoration-warning="status == 'Belum Received sama sekali' or status == 'Belum Received full'" + decoration-success="status == 'SIAP KIRIM' or status == 'KIRIM SISANYA'" + decoration-info="status == 'Belum Invoiced'" + /> </tree> </field> </record> @@ -28,6 +34,13 @@ <group> <field name="sale_order_id"/> <field name="product_id"/> + <field name="status" + widget="badge" + decoration-danger="status == 'Belum PO sama sekali' or status == 'Belum PO full'" + decoration-warning="status == 'Belum Received sama sekali' or status == 'Belum Received full'" + decoration-success="status == 'SIAP KIRIM' or status == 'KIRIM SISANYA'" + decoration-info="status == 'Belum Invoiced'" + /> </group> <group> <field name="qty_so"/> |
