Repository
OCA/account-invoicing · module folder · Try on Runboat
Module version
1.0.0
Category
Sales
Folder size
0.04 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/account-invoicing
Last tracking update
2026-08-07 08:42:47
Authors
Odoo Community Association (OCA), ForgeFlow
Maintainers
Odoo Community Association (OCA), ForgeFlow
Committers
Weblate, OCA-git-bot, oca-ci, Bhavesh Heliconia
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
Allow to revert a credit note. Standard Odoo does not allow it. When
reverting the credit note from the journal entry Standard Odoo does not
link it to the Sales order, because the reversal is not an invoice. This
module just ensure the reveral is a customer invoice, so it counts as
invoice in the sales order.

This also serves when the posting credit notes by mistake. For example,
when adding a negative quantity in the sale line and creating Odoo will
actually create a credit note, then, if other lines with positive
quantites are added nothing changes, and the invoice will be still a
credit note.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
form_view_account_move_reversal_inherit_credit_note form.view.account.move.reversal.inherit.credit.note account.move.reversal form Inherits account.view_account_move_reversal
view_order_form_revert_credit_note account.move.credit.note.reverse account.move form Inherits account.view_move_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (1)

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
213 days ago
Last activity
157 days ago
Repository
OCA/account-invoicing
Pull request
[19.0][MIG] sale_credit_note_reversal (#2227)