diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2025-07-28 15:19:50 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2025-07-28 15:19:50 +0700 |
| commit | c99a62f139fd7dfad7ffb2911eaaa7e7b95c7dd5 (patch) | |
| tree | ddfecef3f18ea6379ad15dc343da3dfef26fdd5e /fixco_custom/views/sale_order.xml | |
| parent | 9519acabf66956f7af58a1bdad137c1e86480b57 (diff) | |
push
Diffstat (limited to 'fixco_custom/views/sale_order.xml')
| -rwxr-xr-x | fixco_custom/views/sale_order.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/fixco_custom/views/sale_order.xml b/fixco_custom/views/sale_order.xml index 137ded1..0dfd9af 100755 --- a/fixco_custom/views/sale_order.xml +++ b/fixco_custom/views/sale_order.xml @@ -6,6 +6,15 @@ <field name="model">sale.order</field> <field name="inherit_id" ref="sale.view_order_form"/> <field name="arch" type="xml"> + <xpath expr="//button[@name='action_view_invoice']" position="before"> + <button type="object" + name="action_view_related_payment" + class="oe_stat_button" + icon="fa-pencil-square-o" + attrs="{'invisible': [('count_payment', '=', 0)]}" groups="base.group_user"> + <field name="count_payment" widget="statinfo" string="Payments"/> + </button> + </xpath> <button id="action_confirm" position="after"> <button name="open_form_uangmuka_penjualan" string="UangMuka" |
