summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/purchase_order.xml
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-04-01 15:41:24 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-04-01 15:41:24 +0700
commit121512a8232e62b32557161bdf40e41e294f47a8 (patch)
treee39ccddee46b7d5d8312b3975265fbf0b2382257 /indoteknik_custom/views/purchase_order.xml
parentac526d1dbdabc894c47e28bc3689bf6893bc1dea (diff)
feedback purchasing job
Diffstat (limited to 'indoteknik_custom/views/purchase_order.xml')
-rwxr-xr-xindoteknik_custom/views/purchase_order.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/indoteknik_custom/views/purchase_order.xml b/indoteknik_custom/views/purchase_order.xml
index baff620c..68622a8e 100755
--- a/indoteknik_custom/views/purchase_order.xml
+++ b/indoteknik_custom/views/purchase_order.xml
@@ -20,6 +20,11 @@
type="object"
attrs="{'invisible': [('approval_status', '=', 'approved')]}"
/>
+ <button name="approve_edit_line"
+ string="Approve Edit"
+ type="object"
+ attrs="{'invisible': [('from_apo', '=', False), ('approval_edit_line', '=', True)]}"
+ />
<button name="indoteknik_custom.action_view_uangmuka_pembelian" string="UangMuka"
type="action" attrs="{'invisible': [('approval_status', '!=', 'approved')]}"/>
</button>
@@ -87,6 +92,8 @@
<field name="has_active_invoice" invisible="1" />
<field name="responsible_ids" widget="many2many_tags"/>
<field name="status_paid_cbd"/>
+ <field name="from_apo"/>
+ <field name="approval_edit_line"/>
</field>
<field name="order_line" position="attributes">
@@ -217,6 +224,7 @@
<field name="product_id" readonly="1"/>
<field name="qty_so" readonly="1"/>
<field name="qty_po" readonly="1"/>
+ <field name="margin_so" readonly="1"/>
</tree>
</field>
</record>