Debit Notes
account_debitnote · OCA/account-invoicing
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 88 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
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
Migration considerations
AccountInvoice— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceAccountInvoiceDebitnote— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (2 methods) migration-api-multi-one · sourceAccountJournal— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (2 methods) migration-api-multi-one · sourceAccountMove— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceIrSequence— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceinvoice_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. (2 occurrences in this file) migration-view-attrs-states · sourceview_account_journal_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_idMany2one → account.invoicecomodel_name='account.invoice'help='Reference to the origin invoice that create this debit note'string='Debit Note' -
debit_invoice_idsOne2many → account.invoicecomodel_name='account.invoice'help='List all debit notes being created by this invoice'inverse_name='debit_invoice_id'readonly=Truestring='Debit Notes'
-
debitnote(self, date_invoice=None, date=None, description=None, journal_id=None)@api.multi@api.returns('self')
New fields (4)
-
dateDatestring='Accounting Date' -
date_invoiceDatedefault=fields.Date.context_todayrequired=Truestring='Debit Note Date' -
descriptionChardefault=<expr>required=Truestring='Reason' -
filter_debitSelectiondefault='debit'required=Truestring='Debit Method' args: [('debit', 'Create a draft debit note')]
-
compute_debitnote(self)@api.multi -
invoice_debitnote(self)@api.multi
New fields (3)
-
debitnote_sequenceBooleandefault=Falsehelp="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_idMany2one → ir.sequencecomodel_name='ir.sequence'copy=Falsehelp='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_nextIntegercompute='_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'
-
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