summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/purchase_order.xml
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-07-13 09:50:57 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-07-13 09:50:57 +0700
commit32bf7b115ec71e72d9cde58bfa3c0304c4b1ffcb (patch)
tree19257db60cdd44a5527825825ab0032a2693f74d /indoteknik_custom/views/purchase_order.xml
parent3085bfa4333cbc99ed4a0e432c8313cf7009cd2a (diff)
parent604ef36b09c2eb2cf89f5b592ab775ba87e0ce88 (diff)
Merge remote-tracking branch 'origin/staging' into real-stock
Diffstat (limited to 'indoteknik_custom/views/purchase_order.xml')
-rwxr-xr-xindoteknik_custom/views/purchase_order.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/indoteknik_custom/views/purchase_order.xml b/indoteknik_custom/views/purchase_order.xml
index 5b0c99ef..4efa8cf4 100755
--- a/indoteknik_custom/views/purchase_order.xml
+++ b/indoteknik_custom/views/purchase_order.xml
@@ -42,6 +42,11 @@
<field name="total_so_margin"/>
<field name="total_percent_margin"/>
<field name="total_so_percent_margin"/>
+ <button name="re_calculate"
+ string="Re Calculate"
+ type="object"
+ attrs="{'invisible': [('approval_status', '=', 'approved')]}"
+ />
</field>
<field name="product_id" position="before">
<field name="line_no" attrs="{'readonly': 1}" optional="hide"/>
@@ -59,6 +64,8 @@
</page>
<field name="fiscal_position_id" position="after">
<field name="note_description"/>
+ <field name="total_so_percent_margin"/>
+
</field>
</field>
</record>