Skip to content

Commit

Permalink
[MIG] Migration to 16 l10n_ar_account_withholding
Browse files Browse the repository at this point in the history
  • Loading branch information
maq-adhoc committed Nov 29, 2023
1 parent 7c211a4 commit 9fb47a1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion l10n_ar_account_withholding/__manifest__.py
Expand Up @@ -27,7 +27,7 @@
'security/security.xml',
'wizard/res_config_settings_views.xml',
'reports/report_withholding_certificate.xml',
'views/account_payment_group_view.xml',
#'views/account_payment_group_view.xml',
'views/afip_tabla_ganancias_escala_view.xml',
'views/afip_tabla_ganancias_alicuotasymontos_view.xml',
'views/account_payment_view.xml',
Expand Down
6 changes: 3 additions & 3 deletions l10n_ar_account_withholding/views/account_payment_view.xml
Expand Up @@ -7,9 +7,9 @@
<field name="inherit_id" ref="account.view_account_payment_tree"/>
<field name="arch" type="xml">
<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')]}"/>
<field name="payment_method_code" column_invisible="True"/>
<field name="partner_type" column_invisible="True"/>
<button name="%(action_report_withholding_certificate)d" icon="fa-print " help="Print withholding voucher" type="action" invisible="payment_method_code != 'withholding' or partner_type != 'supplier'"/>
</tree>
</field>
</record>
Expand Down
2 changes: 1 addition & 1 deletion l10n_ar_account_withholding/views/res_partner_view.xml
Expand Up @@ -7,7 +7,7 @@
<field name="model">res.partner</field>
<field name="arch" type="xml">
<field name="imp_ganancias_padron" position="after">
<field name="default_regimen_ganancias_id" attrs="{'invisible': [('imp_ganancias_padron', 'in', ['EX', 'NC'])]}"/>
<field name="default_regimen_ganancias_id" invisible="imp_ganancias_padron in ['EX', 'NC']"/>
</field>
<group name="others_col_1">
<field name="drei"/>
Expand Down

0 comments on commit 9fb47a1

Please sign in to comment.