Skip to content

Commit

Permalink
[FIX][l10n_ar_account_withholding] warning on button fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
MatiasFigueroa24 committed Nov 14, 2023
1 parent 99facff commit f48bb7d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion l10n_ar_account_withholding/views/account_payment_view.xml
Expand Up @@ -9,7 +9,8 @@
<tree>
<field name="payment_method_code" invisible="1"/>
<field name="partner_type" invisible="1"/>
<button name="%(action_report_withholding_certificate)d" icon="fa-print " help="Print withholding voucher" type="action" attrs="{'invisible': ['|', ('payment_method_code', '!=', 'withholding'), ('partner_type', '!=', 'supplier')]}"/>
<button name="%(action_report_withholding_certificate)d" icon="fa-print" help="Print withholding voucher" type="action" attrs="{'invisible': ['|', ('payment_method_code', '!=', 'withholding'), ('partner_type', '!=', 'supplier')]}">
</button>
</tree>
</field>
</record>
Expand Down

0 comments on commit f48bb7d

Please sign in to comment.