Repository
odoo/odoo · module folder
Module version
1.0
Category
Accounting/Accounting
Folder size
0.58 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
None
Last tracking update
2026-08-15 22:44:14
Authors
Odoo S.A.
Maintainers
Odoo S.A.
Committers
Raphael Collet, Odoo Translation Bot, Julien Castiaux, oco-odoo, Tiffany Chang (tic), Gorash, luvi, Louis Wicket (wil), Dylan Kiss (dyki), Nguyễn Đại Dương, guva-odoo, Manav Shah
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
l10n_co, l10n_ec, l10n_hu_edi, l10n_in, l10n_it_edi, l10n_latam_invoice_document, l10n_pe, l10n_sa
Description
In a lot of countries, a debit note is used as an increase of the amounts of an existing invoice 
or in some specific cases to cancel a credit note. 
It is like a regular invoice, but we need to keep track of the link with the original invoice.  
The wizard used is similar as the one for the credit note.
    

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
report_invoice_document_inherit_debit_note report_invoice_document_inherit_debit_note ir.ui.view qweb Inherits account.report_invoice_document
view_account_debit_note account.debit.note.form account.debit.note form New
view_account_invoice_filter_debit account.invoice.select.debit account.move Inherits account.view_account_invoice_filter
view_account_journal_form_inherit_debit_note account.journal.form.inherit.debit.note account.journal form Inherits account.view_account_journal_form
view_account_move_filter_debit account.move.filter.debit account.move Inherits account.view_account_move_filter
view_account_move_line_filter_debit account.move.line.search.debit account.move.line search Inherits account.view_account_move_line_filter
view_move_form_debit account.move.form.debit account.move form Inherits account.view_move_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (8)
  • copy_lines Boolean
    help="In case you need to do corrections for every line, it can be in handy to copy them. We won't copy them for debit notes from credit notes. " args: 'Copy Lines'
  • country_code Char
    related='move_ids.company_id.country_id.code'
  • date Date
    default=fields.Date.context_today required=True string='Debit Note Date'
  • journal_id Many2one → account.journal
    help='If empty, uses the journal of the journal entry to be debited.' string='Use Specific Journal' args: 'account.journal'
  • journal_type Char
    compute='_compute_journal_type'
  • move_ids Many2many → account.move
    domain=[('state', '=', 'posted')] args: 'account.move', 'account_move_debit_move', 'debit_id', 'move_id'
  • move_type Char
    compute='_compute_from_moves'
  • reason Char
    string='Reason'
Public methods (2)
  • create_debit(self)
  • default_get(self, fields)
    @api.model

New fields (1)
  • debit_sequence Boolean
    compute='_compute_debit_sequence' help="Check this box if you don't want to share the same sequence for invoices and debit notes made from this journal" readonly=False store=True string='Dedicated Debit Note Sequence'
Public methods (0)

No public methods.

New fields (3)
  • debit_note_count Integer
    compute='_compute_debit_count' args: 'Number of Debit Notes'
  • debit_note_ids One2many → account.move
    help='The debit notes created for this invoice' args: 'account.move', 'debit_origin_id', 'Debit Notes'
  • debit_origin_id Many2one → account.move
    copy=False index='btree_not_null' readonly=True args: 'account.move', 'Original Invoice Debited'
Public methods (2)
  • action_debit_note(self)
  • action_view_debit_notes(self)

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…