Skip to content
Health
42/100
poor
  • Security25/25
    No findings
  • Activity0/25
    Only bot commits
  • Required by5/25
    0 modules depend on it
  • Maturity12/25
    In 2 Odoo series since 11.0

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

Security findings
Grave / minor (static analysis)
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.07 MB
Module directory on disk
Code analysis 2 migration notes 2 models 2 views 0 HTTP endpoints

Description

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

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

Views touched 2

XML IDNameModelTypeStatus
invoice_supplier_form account.invoice.supplier.form account.invoice form Inherits account.invoice_supplier_form
report_invoice_document_with_supplies report_invoice_document_with_supplies ir.ui.view qweb Inherits account.report_invoice_document

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (8)
  • executable_total Monetary
    compute='_compute_executable_amount' readonly=True store=True string='Total executable'
  • executable_total_company_signed Monetary
    compute='_compute_executable_amount' currency_field='company_currency_id' help='Total executable amount in the currency of the company, negative for credit notes.' readonly=True store=True string='Total executable in Company Currency'
  • executable_total_signed Monetary
    compute='_compute_executable_amount' currency_field='currency_id' help='Total executable amount in the currency of the invoice, negative for credit notes.' readonly=True store=True string='Total executable in Invoice Currency'
  • reimbursable_count Integer
    compute='_compute_reimbursable_count'
  • reimbursable_ids One2many → account.invoice.reimbursable
    copy=True inverse_name='invoice_id' readonly=True states={'draft': [('readonly', False)]} args: 'account.invoice.reimbursable'
  • reimbursable_total Monetary
    compute='_compute_reimbursable_amount' readonly=True store=True string='Total reimbursable'
  • reimbursable_total_company_signed Monetary
    compute='_compute_reimbursable_amount' currency_field='company_currency_id' help='Total executable amount in the currency of the company, negative for credit notes.' readonly=True store=True string='Total reimbursable in Company Currency'
  • reimbursable_total_signed Monetary
    compute='_compute_reimbursable_amount' currency_field='currency_id' help='Total reimbursable amount in the currency of the invoice, negative for credit notes.' readonly=True store=True string='Total reimbursable in Invoice Currency'
Public methods (2)
  • compute_invoice_totals(self, company_currency, invoice_move_lines)
    @api.multi
  • finalize_invoice_move_lines(self, move_lines)
    @api.multi

New fields (11)
  • account_analytic_id Many2one → account.analytic.account
    string='Analytic Account' args: 'account.analytic.account'
  • account_id Many2one → account.account
    domain=[('deprecated', '=', False)] required=True string='Account' args: 'account.account'
  • amount Monetary
    currency_field='currency_id' default=0.0 required=True
  • analytic_tag_ids Many2many → account.analytic.tag
    string='Analytic Tags' args: 'account.analytic.tag'
  • company_id Many2one → res.company
    related='invoice_id.company_id' args: 'res.company'
  • currency_id Many2one → res.currency
    related='invoice_id.currency_id' args: 'res.currency'
  • description Char
    compute='_compute_description' readonly=True store=True
  • invoice_id Many2one → account.invoice
    required=True args: 'account.invoice'
  • name Text
    required=True
  • partner_id Many2one → res.partner
    domain="['|',('company_id', '=', parent.company_id), ('company_id', '=', False)]" required=True args: 'res.partner'
  • product_id Many2one → product.product
    domain="[('type','=','service'), '|',('company_id', '=', parent.company_id), ('company_id', '=', False)]" required=False args: 'product.product'
Public methods (1)
  • set_default_account(self)
    @api.multi
    Hook function that should be upgraded for Customer invoices with receivables

Loading…