Skip to content
Health
35/100
poor
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 88 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 12.0

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

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

Description

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

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

Views touched 5

XML IDNameModelTypeStatus
invoice_form account.invoice.form account.invoice form Inherits account.invoice_form
invoice_supplier_form invoice.supplier.ext account.invoice form Inherits account.invoice_supplier_form
view_account_invoice_debitnote account.invoice.debitnote.form account.invoice.debitnote form New
view_account_invoice_filter view.account.invoice.filter.ext account.invoice search Inherits account.view_account_invoice_filter
view_account_journal_form account.journal.form account.journal form Inherits account.view_account_journal_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 5

New fields (2)
  • debit_invoice_id Many2one → account.invoice
    comodel_name='account.invoice' help='Reference to the origin invoice that create this debit note' string='Debit Note'
  • debit_invoice_ids One2many → account.invoice
    comodel_name='account.invoice' help='List all debit notes being created by this invoice' inverse_name='debit_invoice_id' readonly=True string='Debit Notes'
Public methods (1)
  • debitnote(self, date_invoice=None, date=None, description=None, journal_id=None)
    @api.multi@api.returns('self')

New fields (4)
  • date Date
    string='Accounting Date'
  • date_invoice Date
    default=fields.Date.context_today required=True string='Debit Note Date'
  • description Char
    default=<expr> required=True string='Reason'
  • filter_debit Selection
    default='debit' required=True string='Debit Method' args: [('debit', 'Create a draft debit note')]
Public methods (2)
  • compute_debitnote(self)
    @api.multi
  • invoice_debitnote(self)
    @api.multi

New fields (3)
  • debitnote_sequence Boolean
    default=False help="Check this box if you don't want to share the same sequence\n for invoices and debit notes made from this journal" string='Dedicated Debit Note Sequence'
  • debitnote_sequence_id Many2one → ir.sequence
    comodel_name='ir.sequence' copy=False help='This field contains the information related to the numbering of\n the debit note entries of this journal.' string='Debit Note Entry Sequence'
  • debitnote_sequence_number_next Integer
    compute='_compute_debitnote_seq_number_next' help='The next sequence number will be used for the next debit note.' inverse='_inverse_debitnote_seq_number_next' string='Debit Notes: Next Number'
Public methods (2)
  • create(self, vals)
    @api.model
  • write(self, vals)
    @api.multi

New fields (0)

No new fields.

Public methods (1)
  • post(self, invoice=False)
    @api.multi

New fields (0)

No new fields.

Public methods (1)
  • next_by_id(self)
    @api.multi