diff options
| -rwxr-xr-x | indoteknik_custom/views/purchase_order.xml | 11 |
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> |
