Skip to content
Health
52/100
fair
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 38 months ago
  • Required by15/25
    1 module depends on it
  • Maturity12/25
    In 2 Odoo series since 12.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.24 MB
Module directory on disk
Code analysis 4 migration notes 6 models 7 views 0 HTTP endpoints

Description

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
account_payment_other_company

Code analysis

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

Views touched 7

XML IDNameModelTypeStatus
account_invoice_consolidated_view_form account.invoice.consolidated.view.form account.invoice.consolidated form New
account_invoice_consolidated_view_search search.view.invoice.consolidated account.invoice.consolidated search New
account_invoice_consolidated_view_tree account.invoice.consolidated.view.tree account.invoice.consolidated tree New
inherit_res_company_form res.company.form res.company form Inherits base.view_company_form
report_template_consolidated_inv report_template_consolidated_inv ir.ui.view qweb New
view_move_form account.move.form.inherit account.move form Inherits account.view_move_form
view_partner_form inherit.view.partner.form res.partner form Inherits account.partner_view_buttons

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 6

New fields (16)
  • amount_currency Monetary
  • amount_tax Monetary
    compute='_compute_amount' store=True tracking=True
  • amount_total Monetary
    compute='_compute_amount' store=True tracking=True
  • amount_untaxed Monetary
    compute='_compute_amount' store=True tracking=True
  • company_id Many2one → res.company
    default=<expr> readonly=True required=True states={'draft': [('readonly', False)]} tracking=True args: 'res.company'
  • currency_id Many2one
    readonly=True related='company_id.currency_id'
  • date_from Date
    readonly=True required=True states={'draft': [('readonly', False)]}
  • date_to Date
    readonly=True required=True states={'draft': [('readonly', False)]}
  • invoice_id Many2one → account.move
    readonly=True states={'draft': [('readonly', False)]} string='Consolidated Invoice' args: 'account.move'
  • invoice_ids One2many → account.move
    args: 'account.move', 'consolidated_by_id'
  • invoice_line_ids One2many → account.move.line
    string='Invoice Line Ids' args: 'account.move.line', 'consolidated_by_id'
  • name Char
    default='Draft' readonly=True
  • partner_id Many2one → res.partner
    readonly=True required=True states={'draft': [('readonly', False)]} tracking=True args: 'res.partner'
  • payment_ids One2many → account.payment
    readonly=True states={'draft': [('readonly', False)]} args: 'account.payment', 'consolidation_id'
  • residual Monetary
    compute='_compute_amount' store=True string='Amount Due' tracking=True
  • state Selection
    default='draft' readonly=True tracking=True args: [('draft', 'Draft'), ('invoice', 'Invoice'), ('done', 'Done')]
Public methods (8)
  • action_confirm_invoice(self)
  • compute_amount(self)
    @api.depends('invoice_ids', 'invoice_id', 'payment_ids')
  • get_invoice_price(self)
  • get_invoices(self)
  • get_tax(self, tax_ids)
  • prepare_consolidated_invoice_line_values(self)
  • prepare_payment_values(self, invoice)
  • unlink(self)

New fields (1)
  • consolidated_by_id Many2one → account.invoice.consolidated
    copy=False ondelete='restrict' readonly=True string='Consolidated In' args: 'account.invoice.consolidated'
Public methods (0)

No public methods.

New fields (1)
  • consolidated_by_id Many2one → account.invoice.consolidated
    readonly=True string='Consolidated By' args: 'account.invoice.consolidated'
Public methods (0)

No public methods.

New fields (1)
  • consolidation_id Many2one → account.invoice.consolidated
    string='Consolidation' args: 'account.invoice.consolidated'
Public methods (0)

No public methods.

New fields (4)
  • cons_invoice_text Html
  • due_from_account_id Many2one → account.account
    args: 'account.account', 'Due From'
  • due_fromto_payment_journal_id Many2one → account.journal
    string='Due From/Due To Journal' args: 'account.journal'
  • due_to_account_id Many2one → account.account
    args: 'account.account', 'Due To'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • view_consolidated_invoice(self)

Loading…