Account invoice accrual
account_invoice_accrual · OCA/account-closing
Health
52/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 99 months ago
-
Required by15/251 module depends on it
-
Maturity12/25In 2 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
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.55 MB
Module directory on disk
Code analysis
3 migration notes
3 models
3 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. (7 methods) migration-api-multi-one · sourceAccountMoveAccrual— 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_supplier_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 · 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 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
invoice_form |
account.invoice.form (account_invoice_accrual) | account.invoice | form | Inherits account.invoice_form |
invoice_supplier_form |
account.invoice.supplier.form (account_invoice_accrual) | account.invoice | form | Inherits account.invoice_supplier_form |
view_account_move_accrue |
account.move.accrue.form | account.move.accrue | form | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (2)
-
accrual_move_idMany2one → account.movecopy=Falsehelp='Link to the Accrual Journal Items.'ondelete='set null'readonly=True args: 'account.move', 'Accrual Journal Entry' -
to_be_reversedBooleanrelated='accrual_move_id.to_be_reversed' args: 'To be reversed'
-
action_cancel(self)@api.multi -
button_reversal(self)@api.multi -
create_accruals(self, accrual_date, account_id, accrual_journal_id=False, move_prefix=False, move_line_prefix=False)@api.multiCreate the accrual of one or multiple invoices :param accrual_date: when the accrual must be input :param accrual_journal_id: facultative journal on which create the move :param move_prefix: prefix for the move's name :param move_line_prefix: prefix for the move line's names :return: Returns a list of ids of the created accrual moves -
invoice_validate(self)@api.multi -
line_get_convert(self, line, part)@api.model -
reverse_accruals(self) -
unlink(self)@api.multi
New fields (0)
No new fields.
Public methods (1)-
move_line_get_item(self, line)@api.model
New fields (5)
-
account_idMany2one → account.accountdefault=<expr>required=True args: 'account.account', 'Accrual account' -
dateDatedefault=<expr>help='Enter the date of the accrual account entries. By default, Odoo proposes the last day of the previous month.'required=True args: 'Accrual Date' -
journal_idMany2one → account.journaldefault=<expr>help='' args: 'account.journal', 'Accrual Journal' -
move_line_prefixChardefault='ACC -'help='Prefix that will be added to the name of the journal item to create the name of the accrual journal item (a space is added after the prefix).'size=32 args: 'Items Name Prefix' -
move_prefixCharhelp="Prefix that will be added to the 'Ref' of the journal entry to create the 'Ref' of the accrual journal entry (no space added after the prefix)."size=32 args: 'Entries Ref. Prefix'
-
action_accrue(self)@api.multi
Loading…