Skip to content

Commit

Permalink
[IMP] l10n_do_accounting: include ecf invoices on button_cancel valid…
Browse files Browse the repository at this point in the history
…ations (#1082)
  • Loading branch information
jose-pcg authored Aug 14, 2023
1 parent 51d6247 commit 6018211
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion l10n_do_accounting/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"category": "Localization",
"license": "LGPL-3",
"website": "https://github.com/odoo-dominicana",
"version": "15.0.0.11.1",
"version": "15.0.0.11.2",
# any module necessary for this one to work correctly
"depends": ["l10n_latam_invoice_document", "l10n_do"],
# always loaded
Expand Down
1 change: 0 additions & 1 deletion l10n_do_accounting/models/account_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,6 @@ def button_cancel(self):
lambda inv: inv.country_code == "DO"
and self.move_type[-6:] in ("nvoice", "refund")
and inv.l10n_latam_use_documents
and not inv.is_ecf_invoice
)

if len(fiscal_invoice) > 1:
Expand Down

0 comments on commit 6018211

Please sign in to comment.