Finnish Sales Invoice Payment Reference

l10n_fi_payment_reference
REPOSITORY
REPOSITORYOCA/l10n-finland
GIT
GIThttps://github.com/OCA/l10n-finland.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-finland/tree/11.0/l10n_fi_payment_reference
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYLocalization
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Avoin.Systems
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Avoin.Systems
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, OCA-git-bot, Miku Laitinen, OCA Git Bot, Atte Isopuro, Tatiana Deribina
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-finland
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:24:02
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - analytic
    - web_planner
    - portal
    - http_routing
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
invoice_form_finnish account.invoice.form.finnish account.invoice field Inherits account.invoice_form
invoice_supplier_form_finnish account.supplier.invoice.form.finnish account.invoice field Inherits account.invoice_supplier_form
view_account_config_settings_finnish Finnish Account Settings res.config.settings xpath Inherits account.res_config_settings_view_form
Models touched (3)

New fields (2)
  • payment_reference Char
    copy=False args: 'Payment Reference Number'
  • payment_reference_type Selection
    readonly=True related='company_id.payment_reference_type'
Public methods (1)
  • invoice_validate(self)
    @api.multi

New fields (1)
  • payment_reference_type Selection
    default='rf' help='The default payment reference for sales invoices' required=True args: [('none', 'Free Reference'), ('fi', 'Finnish Standard Reference'), ('rf', 'Creditor Reference (RF)')], 'Payment Reference Type'
Public methods (0)

No public methods.

New fields (1)
  • payment_reference_type Selection
    related='company_id.payment_reference_type' required=True
Public methods (1)
  • onchange_company_id(self)
    @api.onchange('company_id')