Skip to content

Commit

Permalink
Merge branch '15.0' into 16.0-rev-001-jl
Browse files Browse the repository at this point in the history
  • Loading branch information
jose-pcg committed Aug 9, 2023
2 parents 363c9f4 + eb74520 commit eaaf516
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
7 changes: 0 additions & 7 deletions l10n_do_accounting/i18n/es_DO.po
Original file line number Diff line number Diff line change
Expand Up @@ -1334,10 +1334,3 @@ msgstr ""
#, python-format
msgid "special from Tax Paying"
msgstr "Exento"

#. module: l10n_do_accounting
#: code:addons/l10n_do_accounting/models/account_move.py:0
#, python-format
msgid "You cannot cancel a draft fiscal invoice without Fiscal Number"
msgstr "No puede cancelar una factura fiscal en borrador sin NCF"

3 changes: 0 additions & 3 deletions l10n_do_accounting/models/account_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,9 +365,6 @@ def button_cancel(self):
_("You cannot cancel multiple fiscal invoices at a time.")
)

if not fiscal_invoice.posted_before and not fiscal_invoice.l10n_do_fiscal_number:
raise ValidationError(_("You cannot cancel a draft fiscal invoice without Fiscal Number"))

if fiscal_invoice and not self.env.user.has_group(
"l10n_do_accounting.group_l10n_do_fiscal_invoice_cancel"
):
Expand Down

0 comments on commit eaaf516

Please sign in to comment.