Skip to content
Health
52/100
fair
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 99 months ago
  • Required by15/25
    1 module depends on it
  • Maturity12/25
    In 2 Odoo series since 8.0

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

Security findings
Grave / minor (static analysis)
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

Description

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
account_invoice_accrual_merge

Code analysis

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

Views touched 3

XML IDNameModelTypeStatus
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_id Many2one → account.move
    copy=False help='Link to the Accrual Journal Items.' ondelete='set null' readonly=True args: 'account.move', 'Accrual Journal Entry'
  • to_be_reversed Boolean
    related='accrual_move_id.to_be_reversed' args: 'To be reversed'
Public methods (7)
  • 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.multi
    Create 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_id Many2one → account.account
    default=<expr> required=True args: 'account.account', 'Accrual account'
  • date Date
    default=<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_id Many2one → account.journal
    default=<expr> help='' args: 'account.journal', 'Accrual Journal'
  • move_line_prefix Char
    default='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_prefix Char
    help="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'
Public methods (1)
  • action_accrue(self)
    @api.multi

Loading…