Skip to content

Commit

Permalink
[16.0][MIG] l10n_es_aeat_mod115: Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
FernandoRomera committed Dec 22, 2022
1 parent 4191539 commit 293a5c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions l10n_es_aeat_mod115/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@

{
"name": "AEAT modelo 115",
"version": "15.0.1.0.0",
"version": "16.0.1.0.0",
"development_status": "Mature",
"category": "Localisation/Accounting",
"author": "AvanzOSC," "Tecnativa," "Odoo Community Association (OCA)",
"author": "AvanzOSC, Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/l10n-spain",
"license": "AGPL-3",
"depends": ["l10n_es", "l10n_es_aeat"],
Expand Down
6 changes: 3 additions & 3 deletions l10n_es_aeat_mod115/models/mod115.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,11 @@ def button_confirm(self):
)
if msg:
raise UserError(msg)
return super(L10nEsAeatMod115Report, self).button_confirm()
return super().button_confirm()

def calculate(self):
res = super(L10nEsAeatMod115Report, self).calculate()
self.refresh()
res = super().calculate()
self.invalidate_recordset()
for rec in self:
if rec.casilla_05 <= 0.0:
rec.tipo_declaracion = "N"
Expand Down

0 comments on commit 293a5c4

Please sign in to comment.