Skip to content

Commit

Permalink
[TMP] workaround in l10n_br_account wizards
Browse files Browse the repository at this point in the history
  • Loading branch information
rvalyi committed Apr 12, 2024
1 parent 7635b33 commit e021402
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion l10n_br_account/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"views/fiscal_invoice_line_view.xml",
# Wizards
"wizards/account_move_reversal_view.xml",
"wizards/wizard_document_status.xml",
# "wizards/wizard_document_status.xml",
# Actions
"views/l10n_br_account_action.xml",
# Menus
Expand Down
7 changes: 4 additions & 3 deletions l10n_br_account/wizards/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from . import base_wizard_mixin

from . import account_move_reversal
from . import wizard_document_cancel
from . import wizard_document_correction
from . import wizard_document_invalidate

# from . import wizard_document_cancel
# from . import wizard_document_correction
# from . import wizard_document_invalidate
2 changes: 2 additions & 0 deletions l10n_br_account/wizards/wizard_document_cancel.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
class DocumentCancelWizard(models.TransientModel):
_inherit = "l10n_br_fiscal.document.cancel.wizard"

# TODO message_post can be done in fiscal.document
# and then copied to the account.move
def do_cancel(self):
result = super().do_cancel()
if self.move_id:
Expand Down

0 comments on commit e021402

Please sign in to comment.