Repository
OCA/account-invoicing · module folder · Try on Runboat
Module version
1.0.0
Category
Accounting & Finance
Folder size
0.07 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/account-invoicing
Last tracking update
2026-08-07 07:31:48
Authors
Odoo Community Association (OCA), Creu Blanca
Maintainers
Odoo Community Association (OCA), Creu Blanca
Committers
Weblate, OCA Transbot, OCA-git-bot, oca-travis
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

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…