summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_custom/views')
-rwxr-xr-xindoteknik_custom/views/purchase_order.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/indoteknik_custom/views/purchase_order.xml b/indoteknik_custom/views/purchase_order.xml
index be01e980..48443057 100755
--- a/indoteknik_custom/views/purchase_order.xml
+++ b/indoteknik_custom/views/purchase_order.xml
@@ -31,6 +31,9 @@
<field name="approval_status"/>
<field name="amount_total_without_service"/>
</field>
+ <field name="approval_status" position="after">
+ <field name="revisi_po" attrs="{'readonly': [('state', 'not in', ['draft'])]}"/>
+ </field>
<field name="currency_id" position="after">
<field name="summary_qty_po"/>
<field name="count_line_product"/>