Sweden - Structured Communication OCR

l10n_se_ocr
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/14.0/l10n_se_ocr
VERSION
VERSION 1.0
CATEGORY
CATEGORYAccounting/Localizations
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSXCLUDE
MAINTAINERS
MAINTAINERSXCLUDE
COMMITTERS
COMMITTERSwan, Xavier-Do, Victor Feyens, Benjamin Frantzen (bfr), Daniel Stenlöv, Jigar Vaghela
WEBSITE
WEBSITEhttps://www.xclude.se
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:14:27
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - l10n_se
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Add Structured Communication to Customer Invoices and Vendor Bill.
------------------------------------------------------------------

Using OCR structured communication simplifies the reconciliation between invoices and payments.

For Customer Invoicing support for OCR level 1 to 4. The OCR number can be based on partner or
the invoice.

For Vendor Bill support, Default Vendor Specific OCR and validation for OCR are added.
    

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
res_partner_ocr_form res.partner.ocr.form res.partner group Inherits base.view_partner_form
view_account_journal_se_ocr_form account.journal.se.ocr.form account.journal xpath Inherits account.view_account_journal_form
Models touched (3)

New fields (2)
  • invoice_reference_model Selection
    ondelete={'se_ocr2': 'set default', 'se_ocr3': 'set default', 'se_ocr4': 'set default'} selection_add=[('se_ocr2', 'Sweden OCR Level 1 & 2'), ('se_ocr3', 'Sweden OCR Level 3'), ('se_ocr4', 'Sweden OCR Level 4')]
  • l10n_se_invoice_ocr_length Integer
    default=6 help='Total length of OCR Reference Number including checksum.' string='OCR Number Length'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • l10n_se_check_vendor_ocr Boolean
    help='This Vendor uses OCR Number on their Vendor Bills.' string='Check Vendor OCR'
  • l10n_se_default_vendor_payment_ref Char
    help='If set, the vendor uses the same Default Payment Reference or OCR Number on all their Vendor Bills.' string='Default Vendor Payment Ref'
Public methods (1)
  • onchange_l10n_se_default_vendor_payment_ref(self)
    @api.onchange('l10n_se_default_vendor_payment_ref')
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/13.0/l10n_se_ocr
VERSION
VERSION 1.0
CATEGORY
CATEGORYLocalization
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSXCLUDE
MAINTAINERS
MAINTAINERSXCLUDE
COMMITTERS
COMMITTERSXavier-Do, Daniel Stenlöv
WEBSITE
WEBSITEhttps://www.xclude.se
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:06:41
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - l10n_se
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Add Structured Communication to Customer Invoices and Vendor Bill.
------------------------------------------------------------------

Using OCR structured communication simplifies the reconciliation between invoices and payments.

For Customer Invoicing support for OCR level 1 to 4. The OCR number can be based on partner or
the invoice.

For Vendor Bill support for Default Vendor Specific OCR is added and validation for OCR.
    

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
res_partner_ocr_form res.partner.ocr.form res.partner group Inherits base.view_partner_form
view_account_journal_se_ocr_form account.journal.se.ocr.form account.journal xpath Inherits account.view_account_journal_form
Models touched (3)

New fields (2)
  • invoice_reference_model Selection
    selection_add=[('se_ocr2', 'Sweden OCR Level 1 & 2'), ('se_ocr3', 'Sweden OCR Level 3'), ('se_ocr4', 'Sweden OCR Level 4')]
  • l10n_se_invoice_ocr_length Integer
    default=6 help='Total length of OCR Reference Number including checksum.' string='OCR Number Length'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • l10n_se_check_vendor_ocr Boolean
    help='This Vendor uses OCR Number on their Vendor Bills.' string='Check Vendor OCR'
  • l10n_se_default_vendor_payment_ref Char
    help='If set, the vendor uses the same Default Payment Reference or OCR Number on all their Vendor Bills.' string='Default Vendor Payment Ref'
Public methods (1)
  • onchange_l10n_se_default_vendor_payment_ref(self)
    @api.onchange('l10n_se_default_vendor_payment_ref')