Skip to content

Commit

Permalink
Merge PR OCA#3684 into 15.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Jul 26, 2024
2 parents 6e8edae + bc490fe commit 3ca3168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion l10n_es_aeat_mod303/models/mod303.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ def _compute_result_type(self):
if report.devolucion_mensual or report.period_type in ("4T", "12"):
if report.use_aeat_account:
report.result_type = "V"
elif report.return_last_period:
elif report.return_last_period or report.devolucion_mensual:
report.result_type = "D" if report.marca_sepa == "1" else "X"
else:
report.result_type = "C"
Expand Down

0 comments on commit 3ca3168

Please sign in to comment.