Skip to content

Commit

Permalink
[FIX] l10n_ar_account_withholding: withholding type requerido
Browse files Browse the repository at this point in the history
Ticket: 81960
Este cambio va de la mano con el de este pr ingadhoc/account-payment#547

X-original-commit: e4175b1
  • Loading branch information
pablohmontenegro committed Oct 29, 2024
1 parent 41ebedc commit 6a503ee
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
8 changes: 8 additions & 0 deletions l10n_ar_account_withholding/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,13 @@
'python': ['pyafipws'],
},
'installable': True,
<<<<<<< HEAD
'auto_install': ['l10n_ar'],
||||||| parent of 774136e1 (temp)
'name': 'Automatic Argentinian Withholdings on Payments',
'version': "16.0.1.2.0",
=======
'name': 'Automatic Argentinian Withholdings on Payments',
'version': "16.0.1.3.0",
>>>>>>> 774136e1 (temp)
}
11 changes: 11 additions & 0 deletions l10n_ar_account_withholding/views/account_tax_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,16 @@
</field>
</record> -->

<record id="view_tax_form_inherit" model="ir.ui.view">
<field name="name">account.tax.form.inherit</field>
<field name="model">account.tax</field>
<field name="inherit_id" ref="account_withholding_automatic.view_tax_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='withholding_type']" position="attributes">
<attribute name="attrs">{'required': [('country_code', '=', 'AR')]}</attribute>
</xpath>
</field>
</record>

</odoo>

0 comments on commit 6a503ee

Please sign in to comment.