TIP: You can type at any time to perform a new search.
Account Document Reversal
account_document_reversal · OCA/account-financial-tools
- Repository
- OCA/account-financial-tools · module folder · Try on Runboat
- Module version
- 1.0.4
- Category
- Accounting & Finance
- Folder size
- 0.11 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/account-financial-tools
- Last tracking update
- 2026-08-07 07:38:24
- Authors
- Odoo Community Association (OCA), Ecosoft, ForgeFlow
- Maintainers
- Odoo Community Association (OCA), Ecosoft, ForgeFlow
- Committers
- Carlos Lopez, Jordi Ballester Alomar, Weblate, OCA Transbot, OCA-git-bot, oca-ci, Kitti U, kittiu
Code Analysis ⓘ
Views touched (6)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_invoice_view_tree |
account.invoice.view.tree | account.move | tree | Inherits account.view_invoice_tree |
view_account_invoice_filter |
view.account.invoice.filter | account.move | Inherits account.view_account_invoice_filter | |
view_account_journal_form |
account.journal.form | account.journal | form | Inherits account.view_account_journal_form |
view_account_payment_form |
view.account.payment.form | account.payment | form | Inherits account.view_account_payment_form |
view_move_form |
account.move.form.inherit | account.move | form | Inherits account.view_move_form |
view_reverse_account_document |
reverse.account.document.form | reverse.account.document | form | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (10)
New fields (0)
No new fields.
Public methods (2)-
action_document_reversal(self, date=None, journal_id=None)Reverse all moves related to this statement + delete payment -
button_cancel_reconciliation(self)If cancel method is to reverse, use document reversal wizard
New fields (1)
-
is_cancel_reversalBooleancompute='_compute_is_cancel_reversal'string='Use Cancel Reversal'
-
action_document_reversal(self, date=None, journal_id=None)Reverse with following guildeline, - Check existing document state / raise warning - Find all related moves and unreconcile - Create reversed moves - Set state to cancel -
reverse_document_wizard(self)@api.modelReturn Wizard to Cancel Document
New fields (4)
-
cancel_methodSelectiondefault='normal'required=Truestring='Cancel Method' args: [('normal', 'Normal (remove journal entries)'), ('reversal', 'Reversal (create reversed journal entries)')] -
is_cancel_reversalBooleancompute='_compute_is_cancel_reversal'help='True, when journal allow cancel entries with method is reversal'string='Use Cancel Reversal' -
reversal_journal_idMany2one → account.journalhelp='Journal in this field will show in reversal wizard as default'string='Default Reversal Journal' args: 'account.journal' -
use_different_journalBooleanhelp='If checked, reversal wizard will show field Reversal Journal'string='Use different journal for reversal'
No public methods.
New fields (2)
-
cancel_reversalBooleancopy=Falsedefault=Falsehelp='This document is being cancelled by using reversal method'string='Cancel Reversal' -
reverse_entry_idMany2one → account.movecomodel_name='account.move'compute='_compute_reverse_entry_id'help='The move that reverse this move (opposite of reversed_entry_id)'string='Reversed by'
-
action_document_reversal(self, date=None, journal_id=None) -
button_cancel(self) -
button_cancel_reversal(self) -
button_draft(self)
New fields (0)
No new fields.
Public methods (1)-
remove_move_reconcile(self)Freeze move with cancel_reversal = True, disallow unreconcile
New fields (0)
No new fields.
Public methods (4)-
action_document_reversal(self, date=None, journal_id=None)Reverse all moves related to this payment + set state to cancel -
action_draft(self)Case cancel reversal, set to draft allowed only when no moves -
cancel(self) -
cancel_reversal(self)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (3)
-
dateDatedefault=fields.Date.context_todayrequired=Truestring='Reversal date' -
journal_idMany2one → account.journalhelp='If empty, uses the journal of the journal entry to be reversed.'string='Reversal Journal' args: 'account.journal' -
use_different_journalBooleanhelp='Checked, if the journal of underlineing document is checked.'string='Use different journal for reversal'
-
action_cancel(self) -
default_get(self, default_fields)@api.model
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…