5f0663b52207279f54cde53777085699ef8c8ae4
_find_or_create_bank_account()
The method `_find_or_create_bank_account()` is defined for an account.bank.statement.line so that it returns either the bank account found or created. The extension made by l10n_ch does not return the record found/created by a call to super(), which may break reconciliations. The code for the reconciliations in which a record is expected to be returned can be seen at: https://github.com/odoo/odoo/blob/ c0eb0d41a3e6c1c766278884a745d45952799393/addons/account/models/ account_bank_statement.py#L1232. The original implementation of `_find_or_create_bank_account()`, where a record is returned always, is at: https://github.com/ odoo/odoo/blob/c0eb0d41a3e6c1c766278884a745d45952799393/addons/ account/models/account_bank_statement.py#L1282-L1291. closes odoo/odoo#118451 X-original-commit: 6c7385c74fafbe84042261e29565a77e2ca0c03c Signed-off-by: Laurent Smet <las@odoo.com>
…
…
…
…
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%