Switzerland - Scan ESR/BVR to create invoices

l10n_ch_scan_bvr
REPOSITORY
REPOSITORYOCA/l10n-switzerland
GIT
GIThttps://github.com/OCA/l10n-switzerland.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-switzerland/tree/11.0/l10n_ch_scan_bvr
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYGeneric Modules/Others
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSDenis Leemann, oca-travis, Weblate, OCA-git-bot, Maxence Groine
WEBSITE
WEBSITEhttp://www.camptocamp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:24:03
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-reconcile:
    - base_transaction_id
OCA/bank-payment:
    - account_payment_partner
    - account_payment_mode
OCA/l10n-switzerland:
    - l10n_ch_base_bank
odoo/odoo:
    - base
    - account
    - base_setup
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - analytic
    - web_planner
    - portal
    - http_routing
    - base_iban
    - sale
    - sales_team
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
partner_default_product_supplier_invoice partner.default.supplier.invoice.product.form.view res.partner group Inherits base.view_partner_form
scan_bvr_memory_form scan.bvr.memory.form scan.bvr form New
Models touched (2)

New fields (1)
  • supplier_invoice_default_product Many2one → product.product
    comodel_name='product.product' help="Used by the scan BVR wizard. If completed, it'll generate a line with the proper amount and this specified product" string='Default product supplier invoice'
Public methods (0)

No public methods.

New fields (5)
  • bank_account_id Many2one → res.partner.bank
    comodel_name='res.partner.bank' string='Partner Bank Account'
  • bvr_string Char
    size=128 string='BVR String'
  • journal_id Many2one → account.journal
    comodel_name='account.journal' default=<expr> string='Invoice journal'
  • partner_id Many2one → res.partner
    comodel_name='res.partner' string='Partner'
  • state Selection
    default='new' args: [('new', 'New'), ('valid', 'valid'), ('need_extra_info', 'Need extra information')], 'State'
Public methods (1)
  • validate_bvr_string(self)
    @api.multi
REPOSITORY
REPOSITORYOCA/l10n-switzerland
GIT
GIThttps://github.com/OCA/l10n-switzerland.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-switzerland/tree/10.0/l10n_ch_scan_bvr
VERSION
VERSION 1.0.4
CATEGORY
CATEGORYGeneric Modules/Others
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSYannick Vaucher, Pedro M. Baeza, GitHub, Akim Juillerat, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Alvaro, Martronic-SA
WEBSITE
WEBSITEhttp://www.camptocamp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:03
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-reconcile:
    - base_transaction_id
OCA/bank-payment:
    - account_payment_partner
    - account_payment_mode
OCA/l10n-switzerland:
    - l10n_ch_payment_slip
    - l10n_ch_base_bank
odoo/odoo:
    - base
    - account
    - base_setup
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - report
    - analytic
    - web_planner
    - base_iban
    - sale
    - sales_team
    - procurement
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
l10nch_view_res_partner_bank_from_invoice_slip_mod res.partner_bank.form.l10n_ch res.partner.bank xpath Inherits l10n_ch_payment_slip.l10n_ch_view_res_partner_bank_from_invoice_slip
partner_default_product_supplier_invoice partner.default.supplier.invoice.product.form.view res.partner group Inherits base.view_partner_form
scan_bvr_memory_form scan.bvr.memory.form scan.bvr form New
Models touched (2)

New fields (1)
  • supplier_invoice_default_product Many2one → product.product
    comodel_name='product.product' help="Used by the scan BVR wizard. If completed, it'll generate a line with the proper amount and this specified product" string='Default product supplier invoice'
Public methods (0)

No public methods.

New fields (5)
  • bank_account_id Many2one → res.partner.bank
    comodel_name='res.partner.bank' string='Partner Bank Account'
  • bvr_string Char
    size=128 string='BVR String'
  • journal_id Many2one → account.journal
    comodel_name='account.journal' default=<expr> string='Invoice journal'
  • partner_id Many2one → res.partner
    comodel_name='res.partner' string='Partner'
  • state Selection
    default='new' args: [('new', 'New'), ('valid', 'valid'), ('need_extra_info', 'Need extra information')], 'State'
Public methods (1)
  • validate_bvr_string(self)
    @api.multi
REPOSITORY
REPOSITORYOCA/l10n-switzerland
GIT
GIThttps://github.com/OCA/l10n-switzerland.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-switzerland/tree/9.0/l10n_ch_scan_bvr
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYGeneric Modules/Others
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSOCA Transbot, vrenaville, oca-travis, Weblate, OCA-git-bot, BT-aestebanez
WEBSITE
WEBSITEhttp://www.camptocamp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:25
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-reconcile:
    - base_transaction_id
OCA/bank-payment:
    - account_payment_partner
    - account_payment_mode
OCA/l10n-switzerland:
    - l10n_ch_payment_slip
    - l10n_ch_base_bank
odoo/odoo:
    - base
    - account
    - base_setup
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - report
    - analytic
    - web_tip
    - web_planner
    - base_iban
    - sale
    - sales_team
    - procurement
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
l10nch_view_res_partner_bank_from_invoice_slip_mod res.partner_bank.form.l10n_ch res.partner.bank xpath Inherits l10n_ch_payment_slip.l10n_ch_view_res_partner_bank_from_invoice_slip
partner_default_product_supplier_invoice partner.default.supplier.invoice.product.form.view res.partner group Inherits base.view_partner_form
scan_bvr_memory_form scan.bvr.memory.form scan.bvr form New
Models touched (2)

New fields (1)
  • supplier_invoice_default_product Many2one → product.product
    comodel_name='product.product' help="Used by the scan BVR wizard. If completed, it'll generate a line with the proper amount and this specified product" string='Default product supplier invoice'
Public methods (0)

No public methods.

New fields (5)
  • bank_account_id Many2one → res.partner.bank
    comodel_name='res.partner.bank' string='Partner Bank Account'
  • bvr_string Char
    size=128 string='BVR String'
  • journal_id Many2one → account.journal
    comodel_name='account.journal' default='_default_journal' string='Invoice journal'
  • partner_id Many2one → res.partner
    comodel_name='res.partner' string='Partner'
  • state Selection
    default='new' args: [('new', 'New'), ('valid', 'valid'), ('need_extra_info', 'Need extra information')], 'State'
Public methods (1)
  • validate_bvr_string(self)
    @api.multi
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_scan_bvr
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYGeneric Modules/Others
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSStéphane Bidoul, Yannick Vaucher, Joël Grand-Guillaume, Nicolas Bessi, GitHub, Akim Juillerat, Stéphane Bidoul (ACSONE), Alex Comba, OCA Transbot, OCA-git-bot, Renzo Meister, johannbelet, Thomas A. Jaeger
WEBSITE
WEBSITEhttp://www.camptocamp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:28
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-reconcile:
    - base_transaction_id
OCA/l10n-switzerland:
    - l10n_ch_payment_slip
    - l10n_ch_base_bank
odoo/odoo:
    - base
    - account
    - base_setup
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - report
    - analytic
    - board
    - edi
    - email_template
    - account_payment
    - account_voucher
    - stock_account
    - stock
    - procurement
    - web_kanban_gauge
    - web_kanban_sparkline
    - sale_stock
    - sale
    - sales_team
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
l10nch_view_res_partner_bank_from_invoice_slip_mod res.partner_bank.form.l10n_ch res.partner.bank group Inherits l10n_ch_payment_slip.l10nch_view_res_partner_bank_from_invoice_slip
partner_default_product_supplier_invoice partner.default.supplier.invoice.product.form.view res.partner field Inherits account.view_partner_property_form
scan_bvr_memory_form scan.bvr.memory.form scan.bvr form New
Models touched (2)

New fields (1)
  • supplier_invoice_default_product Many2one → product.product
    comodel_name='product.product' help="Used by the scan BVR wizard. If completed, it'll generate a line with the proper amount and this specified product" string='Default product supplier invoice'
Public methods (0)

No public methods.

New fields (5)
  • bank_account_id Many2one → res.partner.bank
    comodel_name='res.partner.bank' string='Partner Bank Account'
  • bvr_string Char
    size=128 string='BVR String'
  • journal_id Many2one → account.journal
    comodel_name='account.journal' default='_default_journal' string='Invoice journal'
  • partner_id Many2one → res.partner
    comodel_name='res.partner' string='Partner'
  • state Selection
    default='new' args: [('new', 'New'), ('valid', 'valid'), ('need_extra_info', 'Need extra information')], 'State'
Public methods (1)
  • validate_bvr_string(self)
    @api.multi
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_scan_bvr
VERSION
VERSION 1.0
CATEGORY
CATEGORYGeneric Modules/Others
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSYannick Vaucher, Alexandre Fayolle, Joel Grand-Guillaume, Nicolas Bessi, Vincent Renaville, OCA Transbot, moylop260, Cesar Andres, BT-csanches
WEBSITE
WEBSITEhttp://www.camptocamp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/l10n-switzerland:
    - l10n_ch
    - l10n_ch_payment_slip
    - l10n_ch_base_bank
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - process
    - decimal_precision
    - mail
    - analytic
    - board
    - edi
    - email_template
    - l10n_multilang
    - account_accountant
    - account_voucher
    - l10n_ch
    - report_webkit
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Scan ESR/BVR to create supplier invoices
========================================

This module works with C-channel or other OCR scanner.

It helps you to create an invoice directly from the ESR/BVR Code.
Find the menu entry called "Scan BVR" under Accounting -> Supplier.
It open a popup from which you can scan the ESR/BVR number.
It'll recognize the needed information and create an
invoice for the right supplier.

If you have completed the field "Default product supplier invoice"
on the concerned supplier,
it'll create a line with the proper amount and the given product.

It currently supports BVR and BVR+

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
l10nch_view_res_partner_bank_from_invoice_slip_mod res.partner_bank.form.l10n_ch res.partner.bank group Inherits l10n_ch_payment_slip.l10nch_view_res_partner_bank_from_invoice_slip
partner_default_product_supplier_invoice partner.default.supplier.invoice.product.form.view res.partner field Inherits base.view_partner_form
scan_bvr_memory_form scan.bvr.memory.form scan.bvr form New
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • validate_bvr_string(self, cr, uid, ids, context)