Skip to content

Commit

Permalink
[IMP] withholding: proffits view + version change
Browse files Browse the repository at this point in the history
closes #895

Signed-off-by: Juan José Scarafía <[email protected]>
  • Loading branch information
jjscarafia committed Aug 21, 2024
1 parent 5beff33 commit 265759a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion l10n_ar_account_withholding/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
##############################################################################
{
'name': 'Automatic Argentinian Withholdings on Payments',
'version': "17.0.0.1.0",
'version': "17.0.1.1.0",
'author': 'ADHOC SA,Odoo Community Association (OCA)',
'website': 'www.adhoc.com.ar',
'license': 'AGPL-3',
Expand Down
8 changes: 4 additions & 4 deletions l10n_ar_account_withholding/views/account_payment_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
<field name="company_regimenes_ganancias_ids" invisible="1"/>
</form>
<field name="ref" position="after">
<label for="retencion_ganancias" invisible="not company_regimenes_ganancias_ids"/>
<div invisible="not company_regimenes_ganancias_ids">
<field name="retencion_ganancias" class="oe_inline" readonly="state not in ['draft']" required="company_regimenes_ganancias_ids and state == 'draft'"/>
<field name="regimen_ganancias_id" class="oe_inline" readonly="state not in ['draft']" invisible="retencion_ganancias != 'nro_regimen'" required="retencion_ganancias == 'nro_regimen' and company_regimenes_ganancias_ids and state == 'draft'" domain="[('id', 'in', company_regimenes_ganancias_ids)]" options='{"no_open": True, "no_create": True}'/>
<label for="retencion_ganancias" string="Ret G." invisible="not company_regimenes_ganancias_ids"/>
<div invisible="not company_regimenes_ganancias_ids" class="o_row">
<field name="retencion_ganancias" readonly="state not in ['draft']" required="company_regimenes_ganancias_ids and state == 'draft'"/>
<field name="regimen_ganancias_id" readonly="state not in ['draft']" invisible="retencion_ganancias != 'nro_regimen'" required="retencion_ganancias == 'nro_regimen' and company_regimenes_ganancias_ids and state == 'draft'" domain="[('id', 'in', company_regimenes_ganancias_ids)]" options='{"no_open": True, "no_create": True}'/>
</div>
</field>
</field>
Expand Down
2 changes: 1 addition & 1 deletion l10n_ar_withholding_ux/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
'name': 'Argentinian withholding UX',
'version': "17.0.1.3.0",
'version': "17.0.1.4.0",
'category': 'Localization/Argentina',
'sequence': 14,
'author': 'ADHOC SA',
Expand Down

0 comments on commit 265759a

Please sign in to comment.