Skip to content

Commit

Permalink
Commit 3 editado
Browse files Browse the repository at this point in the history
  • Loading branch information
lav-adhoc committed May 24, 2023
1 parent c80436a commit d49f402
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion l10n_ar_ux/__manifest__.py
@@ -1,5 +1,5 @@
{
'name': 'Argentinian Accounting UX',
'name': 'Argentinian Accounting UX edit 2',
'version': "13.0.1.40.0",
'category': 'Localization/Argentina',
'sequence': 14,
Expand Down
1 change: 1 addition & 0 deletions l10n_ar_ux/models/account_journal.py
Expand Up @@ -63,6 +63,7 @@ def use_specific_document_types(self):
def write(self, values):
""" include the l10n_ar_document_type_ids changes as trigger to re compute the sequences """
res = super().write(values)
res = super().write(values)
to_check = set(['l10n_ar_document_type_ids'])
if to_check.intersection(set(values.keys())):
for rec in self:
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),
)
l10n_ar_currency_rate = fields.Float(compute='_compute_l10n_ar_currency_rate', store=True)

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 d49f402

Please sign in to comment.