summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/tukar_guling.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/indoteknik_custom/views/tukar_guling.xml b/indoteknik_custom/views/tukar_guling.xml
index e008d2a1..a3b7ce23 100644
--- a/indoteknik_custom/views/tukar_guling.xml
+++ b/indoteknik_custom/views/tukar_guling.xml
@@ -70,6 +70,15 @@
statusbar_visible="draft,approval_sales,approval_logistic,approval_finance,done"/>
</header>
<sheet>
+ <div class="oe_button_box">
+ <button name="action_view_picking"
+ type="object"
+ class="oe_stat_button"
+ icon="fa-truck"
+ attrs="{'invisible': [('picking_ids', '=', False)]}">
+ <field name="picking_ids" widget="statinfo" string="Delivery"/>
+ </button>
+ </div>
<div class="oe_title">
<h1>
<field name="name" readonly="1" class="oe_inline"/>
@@ -80,6 +89,9 @@
<group>
<field name="date" string="Date" readonly="1"/>
<field name="return_type"/>
+ <field name="origin" readonly="1"/>
+ <field name="ort_num" readonly="1"/>
+ <field name="srt_num" readonly="1"/>
<field name="out_num" string="BU/Out"
attrs="{
'invisible': [('return_type', 'not in', ['revisi_so', 'credit_memo', 'tukar_guling'])],