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/account_move.xml | |
| parent | 9519acabf66956f7af58a1bdad137c1e86480b57 (diff) | |
push
Diffstat (limited to 'fixco_custom/views/account_move.xml')
| -rw-r--r-- | fixco_custom/views/account_move.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fixco_custom/views/account_move.xml b/fixco_custom/views/account_move.xml index 3615fb7..daa5707 100644 --- a/fixco_custom/views/account_move.xml +++ b/fixco_custom/views/account_move.xml @@ -10,7 +10,8 @@ <button name="open_reconcile_view" position="after"> <button type="object" name="action_view_related_payment" class="oe_stat_button" - icon="fa-pencil-square-o"> + icon="fa-pencil-square-o" + attrs="{'invisible': [('move_type', '!=', 'in_invoice')]}"> <field name="count_payment" widget="statinfo" string="Payments"/> </button> </button> |
