summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/tukar_guling_po.xml
diff options
context:
space:
mode:
authorMiqdad <ahmadmiqdad27@gmail.com>2025-07-23 13:11:17 +0700
committerMiqdad <ahmadmiqdad27@gmail.com>2025-07-23 13:11:17 +0700
commit1dbe906db264189b69a10633b3e7516650b3dfc5 (patch)
treefdfb8781b18bdfcf46e5a6c380400d6651525f3b /indoteknik_custom/views/tukar_guling_po.xml
parent365c9cbd0be8749873e4ec9953588d6b1b395677 (diff)
<miqdad> PO fix sequence on create and add vendor name
Diffstat (limited to 'indoteknik_custom/views/tukar_guling_po.xml')
-rw-r--r--indoteknik_custom/views/tukar_guling_po.xml9
1 files changed, 7 insertions, 2 deletions
diff --git a/indoteknik_custom/views/tukar_guling_po.xml b/indoteknik_custom/views/tukar_guling_po.xml
index 0e29e965..266f4eea 100644
--- a/indoteknik_custom/views/tukar_guling_po.xml
+++ b/indoteknik_custom/views/tukar_guling_po.xml
@@ -28,7 +28,7 @@
<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_logistic','approval_finance')"
+ decoration-info="state in ('draft', 'approval_purchase', 'approval_finance','approval_logistic')"
decoration-success="state == 'done'"
decoration-muted="state == 'cancel'"
/>
@@ -47,7 +47,7 @@
attrs="{'invisible': [('state', '!=', 'draft')]}"/>
<button name="action_approve" string="Approve" type="object"
class="btn-primary"
- attrs="{'invisible': [('state', 'not in', ['approval_purchase', 'approval_logistic', 'approval_finance'])]}"/>
+ attrs="{'invisible': [('state', 'not in', ['approval_purchase', 'approval_finance', 'approval_logistic'])]}"/>
<button name="action_cancel" string="Cancel" type="object"
class="btn-secondary"
attrs="{'invisible': [('state', '=', 'cancel')]}"
@@ -76,6 +76,7 @@
</div>
<group>
<group>
+ <field name="vendor_id" readonly="1"/>
<field name="date" string="Date" readonly="1"/>
<field name="return_type"/>
<!-- <field name="ort_num" readonly="1"/>-->
@@ -109,6 +110,10 @@
</page>
</notebook>
</sheet>
+ <div class="oe_chatter">
+ <field name="message_follower_ids" widget="mail_followers"/>
+ <field name="message_ids" widget="mail_thread"/>
+ </div>
</form>
</field>
</record>