summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2023-07-12 09:14:54 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2023-07-12 09:14:54 +0700
commit604ef36b09c2eb2cf89f5b592ab775ba87e0ce88 (patch)
tree49a29a22128404aa410933d9578177d45e380bab
parentba2bd3f91857cf6085eb760451ec695182dd1a3a (diff)
replace button recalculate
-rwxr-xr-xindoteknik_custom/views/purchase_order.xml11
1 files changed, 6 insertions, 5 deletions
diff --git a/indoteknik_custom/views/purchase_order.xml b/indoteknik_custom/views/purchase_order.xml
index 918e130c..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"/>
@@ -60,11 +65,7 @@
<field name="fiscal_position_id" position="after">
<field name="note_description"/>
<field name="total_so_percent_margin"/>
- <button name="re_calculate"
- string="Re Calculate"
- type="object"
- attrs="{'invisible': [('approval_status', '=', 'approved')]}"
- />
+
</field>
</field>
</record>