OdooWiki OCA HUB

Account Invoice Refund Code

account_invoice_refund_code folder_open OCA/account-invoicing open_in_new
Accounting & Finance License: LGPL-3

This module allows to have specific refund codes.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Lets you set a custom short code for refund sequences on sales and purchase journals, so credit notes get their own numbering prefix instead of the default 'R' plus journal code.

This module adds a new field called Refund Short Code on accounting journals. It appears on the journal form, right after the journal's short code, but only for sales and purchase journals that already have refund sequences enabled.

When a credit note (refund) is created in such a journal, Odoo normally builds its sequence using the letter R followed by the journal code. With this module, if you have filled in the Refund Short Code, that default prefix is replaced by your own code. This lets you use a clearer or company-specific prefix for refund documents.

  • The field is only visible on sale and purchase journals with refund sequences turned on.
  • It changes how the starting sequence of a refund document is generated in account.move.
  • It does not affect regular invoices, only refunds.
  • No new menus or reports are added; everything happens on the existing journal configuration screen.

The module touches the account.journal and account.move models. It is a small configuration helper for numbering credit notes.

Depends on

account
Models and fields (2)
  • account.move · extends an existing model
  • account.journal · extends an existing modelrefund_code (Refund Short Code)

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 16.0

Confirmed on 2026-11-03 in branch 16.0 of OCA/account-invoicing.

terminal Installation and usage

OCA documentation · Odoo 19.0

To use this module, you need to:

  • Go to Invoicing \> Configuration \> Journals
  • Choose the journal you want to use
  • Mark the field 'Dedicated Credit Note Sequence'
  • Specify the refund short code

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.