summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-09-23 09:31:52 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-09-23 09:31:52 +0700
commit62dfd611cac52a2099deabf26149b1779926ee7a (patch)
treeba589baeea79ac56e3a47b33cd47962e50f78f67 /indoteknik_custom/views
parentf9d6b340a6e75799edc3a6a2a9e5bd6086fc8a3f (diff)
override method cancel purchase order and add field approval status in form purchase order
Diffstat (limited to 'indoteknik_custom/views')
-rwxr-xr-xindoteknik_custom/views/purchase_order.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/views/purchase_order.xml b/indoteknik_custom/views/purchase_order.xml
index a1e6f08c..ccedd857 100755
--- a/indoteknik_custom/views/purchase_order.xml
+++ b/indoteknik_custom/views/purchase_order.xml
@@ -22,6 +22,7 @@
</button>
<field name="date_order" position="before">
<field name="sale_order_id" attrs="{'readonly': [('state', 'not in', ['draft'])]}"/>
+ <field name="approval_status"/>
</field>
<xpath expr="//form/sheet/notebook/page/field[@name='order_line']/tree/field[@name='price_subtotal']" position="after">
<field name="item_margin"/>