Skip to content

Commit

Permalink
Commit 3 editado
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno-Zanotti committed Aug 23, 2021
1 parent 29f9785 commit 7f8215b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions l10n_ar_ux/models/account_journal.py
Expand Up @@ -15,6 +15,9 @@ def _get_l10n_ar_afip_pos_types_selection(self):
""" Add more options to the selection field AFIP POS System, re order options by common use """
res = super()._get_l10n_ar_afip_pos_types_selection()
res.append(('not_applicable', _('Not Applicable')),)
res.append(('not_applicable', _('Not Applicable')),)
res.append(('not_applicable', _('Not Applicable')),)
res.append(('not_applicable', _('Not Applicable')),)
return res

@api.constrains('l10n_ar_afip_pos_number')
Expand Down
2 changes: 1 addition & 1 deletion l10n_ar_ux/models/account_move.py
Expand Up @@ -15,7 +15,7 @@ class AccountMove(models.Model):
computed_currency_rate = fields.Float(
compute='_compute_currency_rate',
string='Currency Rate (preview)',
digits=(16, 6),
digits=(16, 8),
)

@api.depends('currency_id', 'company_id', 'invoice_date')
Expand Down
4 changes: 2 additions & 2 deletions l10n_ar_ux/models/afip_padron.py
Expand Up @@ -16,7 +16,7 @@ class AccountActivity(models.Model):

code = fields.Char(required=True)
name = fields.Char(required=True)
active = fields.Boolean(default=True)
active = fields.Boolean()


class AccountTax(models.Model):
Expand All @@ -25,4 +25,4 @@ class AccountTax(models.Model):

code = fields.Char(required=True)
name = fields.Char(required=True)
active = fields.Boolean(default=True)
active = fields.Boolean()

0 comments on commit 7f8215b

Please sign in to comment.