summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiqdad <ahmadmiqdad27@gmail.com>2025-07-25 11:29:59 +0700
committerMiqdad <ahmadmiqdad27@gmail.com>2025-07-25 11:29:59 +0700
commit360b62be63b80a0ed7df9845c72f3549087ac02e (patch)
treeb68054987816679d047c40f062a309ac877b0e5a
parent1183eecfa3696152713470efa0ee873966ff7514 (diff)
<miqdad> update tree view
-rw-r--r--indoteknik_custom/views/tukar_guling.xml3
-rw-r--r--indoteknik_custom/views/tukar_guling_po.xml10
2 files changed, 7 insertions, 6 deletions
diff --git a/indoteknik_custom/views/tukar_guling.xml b/indoteknik_custom/views/tukar_guling.xml
index a79f8b55..fa3db0d2 100644
--- a/indoteknik_custom/views/tukar_guling.xml
+++ b/indoteknik_custom/views/tukar_guling.xml
@@ -23,7 +23,7 @@
<field name="arch" type="xml">
<tree create="1" delete="1" default_order="create_date desc">
<field name="name"/>
- <field name="date"/>
+ <field name="partner_id" string="Customer"/>
<field name="origin" string="SO Number"/>
<field name="operations" string="Operations"/>
<field name="return_type" string="Return Type"/>
@@ -33,6 +33,7 @@
decoration-muted="state == 'cancel'"
/>
<field name="ba_num" string="Nomor BA"/>
+ <field name="date"/>
<field name="date_logistic" string="Approved Date"/>
</tree>
</field>
diff --git a/indoteknik_custom/views/tukar_guling_po.xml b/indoteknik_custom/views/tukar_guling_po.xml
index 77feb05f..26c0a0d4 100644
--- a/indoteknik_custom/views/tukar_guling_po.xml
+++ b/indoteknik_custom/views/tukar_guling_po.xml
@@ -23,18 +23,18 @@
<field name="arch" type="xml">
<tree create="1" delete="1" default_order="create_date desc">
<field name="name"/>
- <field name="date"/>
- <field name="origin" string="PO Number"/>
+ <field name="vendor_id" string="Customer"/>
+ <field name="origin" string="SO Number"/>
<field name="operations" string="Operations"/>
<field name="return_type" string="Return Type"/>
- <field name="ba_num" string="Nomor BA"/>
- <field name="return_type" string="Return Type"/>
<field name="state" widget="badge"
decoration-info="state in ('draft', 'approval_purchase', 'approval_finance','approval_logistic')"
decoration-success="state == 'done'"
decoration-muted="state == 'cancel'"
/>
- <field name="date_logistic" string="Approved Date"/>
+ <field name="ba_num" string="Nomor BA"/>
+ <field name="date"/>
+ <field name="date_logistic" string="Approved Date"/>
</tree>
</field>
</record>