diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2023-07-12 09:14:54 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2023-07-12 09:14:54 +0700 |
| commit | 604ef36b09c2eb2cf89f5b592ab775ba87e0ce88 (patch) | |
| tree | 49a29a22128404aa410933d9578177d45e380bab | |
| parent | ba2bd3f91857cf6085eb760451ec695182dd1a3a (diff) | |
replace button recalculate
| -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> |
