Skip to content
Health
100/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 3 months ago
  • Required by25/25
    9 modules depend on it
  • Maturity25/25
    In 8 Odoo series since 13.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
9
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.66 MB
Module directory on disk
Code analysis 0 migration notes 3 models 7 views 0 HTTP endpoints

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.

Dependencies

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_pk_edi, l10n_sa

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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 (4)
  • 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'
  • debit_origin_move_type Selection
    related='debit_origin_id.move_type' string='Debit Origin Move Type'
Public methods (3)
  • action_debit_note(self)
  • action_open_debit_note_origin_entry(self)
  • action_view_debit_notes(self)

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…