Swiss bank statements import

l10n_ch_account_statement_base_import
REPOSITORY
REPOSITORYOCA/l10n-switzerland
GIT
GIThttps://github.com/OCA/l10n-switzerland.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-switzerland/tree/8.0/l10n_ch_account_statement_base_import
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYFinance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp, Compassion CH
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp, Compassion CH
COMMITTERS
COMMITTERSYannick Vaucher, GitHub, Stéphane Bidoul (ACSONE), OCA Transbot, Emanuel Cino, oca-travis, Weblate, OCA-git-bot, Francois Deppierraz
WEBSITE
WEBSITEhttp://www.compassion.ch/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:28
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/bank-statement-import:
    - account_bank_statement_import_camt
    - account_bank_statement_import
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - report
    - analytic
    - board
    - edi
    - email_template
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES wand
xlrd
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
assets_backend account assets ir.ui.view qweb Inherits web.assets_backend
attachement_form_postfinance l10n_ch_bank_attachment.view_form ir.attachment form New
view_bank_statement_form_l10n_ch account_statement_l10n_ch.view_form account.bank.statement data Inherits account.view_bank_statement_form
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • file_name Char
    compute='_compute_file_name'
  • related_files Many2many → ir.attachment
    comodel_name='ir.attachment' readonly=True string='Related files'
Public methods (2)
  • download_attachment(self)
    @api.multi
  • get_statement_line_for_reconciliation(self, st_line)
    @api.model
REPOSITORY
REPOSITORYOCA/l10n-switzerland
GIT
GIThttps://github.com/OCA/l10n-switzerland.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-switzerland/tree/7.0/l10n_ch_account_statement_base_import
VERSION
VERSION 0.3
CATEGORY
CATEGORYFinance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Compassion CH
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Compassion CH
COMMITTERS
COMMITTERSAlexandre Fayolle, Matthieu Dietrich, Stéphane Bidoul (ACSONE), Nicolas Bessi (nbessi), OCA Transbot, moylop260, steveferry, Emanuel Cino, ecino, Cyril Sester
WEBSITE
WEBSITEhttp://www.compassion.ch/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-reconcile:
    - account_statement_base_import
    - account_statement_ext
    - account_statement_base_completion
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - process
    - decimal_precision
    - mail
    - analytic
    - board
    - edi
    - email_template
    - report_webkit
    - account_voucher
    - account_report_company
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES xlrd
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
 This module adds several import types to the module
 account_statement_base_import, in order to read swiss bank statements.
 It currently supports the following file formats :

 * .v11, .esr, .bvr formats (ESR standard) for records of type 3
   (type 4 is ready to be implemented)
 * .g11 format from Postfinance S.A. for Direct Debit records of type 2
 * XML format from Postfinance S.A.
 * .csv format from Raiffeisen Bank
 * .csv format from UBS Bank [CH-FR]

 Warning : this module requires the python library 'xlrd'.
 

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
attachement_form_postfinance l10n_ch_bank_attachment.view_form ir.attachment form New
bank_statement_view_form_postfinance l10n_ch_bank_statement.view_form account.bank.statement data Inherits account_statement_base_completion.bank_statement_view_form2
Models touched (3)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • download_attachment(self, cr, uid, ids, context=None)

New fields (0)

No new fields.

Public methods (1)
  • prepare_statement_vals(self, cr, uid, profile_id, result_row_list, parser, context)
    Before creating bank statement, we check for .g11 files that the currency of the transactions are the same that the one of the company.