Debit Notes

account_debitnote
REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/12.0/account_debitnote
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eocosft
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eocosft
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, Weblate, OCA-git-bot, kongrattapong
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoicing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:21
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - http_routing
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
invoice_form account.invoice.form account.invoice button Inherits account.invoice_form
invoice_supplier_form invoice.supplier.ext account.invoice button 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 xpath Inherits account.view_account_journal_form
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