Repository
OCA/account-invoicing · module folder · Try on Runboat
Module version
1.0.0
Category
Uncategorized
Folder size
0.08 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/account-invoicing
Last tracking update
2026-08-07 07:31:48
Authors
Odoo Community Association (OCA), Eocosft
Maintainers
Odoo Community Association (OCA), Eocosft
Committers
Weblate, OCA Transbot, OCA-git-bot, oca-travis, kongrattapong
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

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