mirror of
https://github.com/OCA/bank-statement-import.git
synced 2025-01-20 12:37:43 +02:00
[FIX] account_statement_import_txt_xlsx: Make tests resilient
- Depending on the installed set of modules, the company currency may be USD or EUR. If the second case, these tests will fail, so we make sure that the company currency is USD for our tests, doing the change by SQL, as there's a Python constraint that prevents it. Not needed in v17 due to: odoo/odoo#107113. account_statement_import_txt_xlsx 15.0.2.0.2 [UPD] Update account_statement_import_txt_xlsx.pot account_statement_import_txt_xlsx 15.0.2.0.3 [UPD] README.rst Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: bank-statement-import-15.0/bank-statement-import-15.0-account_statement_import_txt_xlsx Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-15-0/bank-statement-import-15-0-account_statement_import_txt_xlsx/
This commit is contained in:
@@ -2,10 +2,13 @@
|
||||
Bank Statement TXT/CSV/XLSX Import
|
||||
==================================
|
||||
|
||||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
..
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! changes will be overwritten. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! source digest: sha256:5e6a0e010b851fe8f9d5fe6bf919b19476e415a8f4d3736643ef92e3b3acd402
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
||||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
||||
:target: https://odoo-community.org/page/development-status
|
||||
@@ -19,11 +22,11 @@ Bank Statement TXT/CSV/XLSX Import
|
||||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
||||
:target: https://translation.odoo-community.org/projects/bank-statement-import-15-0/bank-statement-import-15-0-account_statement_import_txt_xlsx
|
||||
:alt: Translate me on Weblate
|
||||
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
|
||||
:target: https://runbot.odoo-community.org/runbot/174/15.0
|
||||
:alt: Try me on Runbot
|
||||
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
|
||||
:target: https://runboat.odoo-community.org/builds?repo=OCA/bank-statement-import&target_branch=15.0
|
||||
:alt: Try me on Runboat
|
||||
|
||||
|badge1| |badge2| |badge3| |badge4| |badge5|
|
||||
|badge1| |badge2| |badge3| |badge4| |badge5|
|
||||
|
||||
This module allows you to import any TXT/CSV or XLSX file in Odoo as bank
|
||||
statements.
|
||||
@@ -65,7 +68,7 @@ Bug Tracker
|
||||
|
||||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/bank-statement-import/issues>`_.
|
||||
In case of trouble, please check there if your issue has already been reported.
|
||||
If you spotted it first, help us smashing it by providing a detailed and welcomed
|
||||
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
||||
`feedback <https://github.com/OCA/bank-statement-import/issues/new?body=module:%20account_statement_import_txt_xlsx%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
||||
|
||||
Do not contact contributors directly about support or help with technical issues.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
{
|
||||
"name": "Bank Statement TXT/CSV/XLSX Import",
|
||||
"summary": "Import TXT/CSV or XLSX files as Bank Statements in Odoo",
|
||||
"version": "15.0.2.0.1",
|
||||
"version": "15.0.2.0.3",
|
||||
"category": "Accounting",
|
||||
"website": "https://github.com/OCA/bank-statement-import",
|
||||
"author": "ForgeFlow, CorporateHub, Odoo Community Association (OCA)",
|
||||
|
||||
@@ -57,6 +57,12 @@ msgstr ""
|
||||
msgid "Amount of transaction in journal's currency"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_statement_import_txt_xlsx
|
||||
#: code:addons/account_statement_import_txt_xlsx/models/account_statement_import.py:0
|
||||
#, python-format
|
||||
msgid "Bad file/mapping: "
|
||||
msgstr ""
|
||||
|
||||
#. module: account_statement_import_txt_xlsx
|
||||
#: model:ir.model.fields,field_description:account_statement_import_txt_xlsx.field_account_statement_import_sheet_mapping__balance_column
|
||||
#: model:ir.model.fields,field_description:account_statement_import_txt_xlsx.field_account_statement_import_sheet_mapping_wizard__balance_column
|
||||
|
||||
@@ -25,8 +25,10 @@ msgstr "%(code)s: %(filename)s"
|
||||
#. module: account_statement_import_txt_xlsx
|
||||
#: model_terms:ir.ui.view,arch_db:account_statement_import_txt_xlsx.account_statement_import_sheet_mapping_tree
|
||||
msgid ""
|
||||
"<span class=\"fa fa-info-circle\"/> Add the column names or column number (when the file has no header).\n"
|
||||
" You can concatenate multiple columns in the file into the same field, indicating the\n"
|
||||
"<span class=\"fa fa-info-circle\"/> Add the column names or column number "
|
||||
"(when the file has no header).\n"
|
||||
" You can concatenate multiple columns in the "
|
||||
"file into the same field, indicating the\n"
|
||||
" column names or numbers separated by comma."
|
||||
msgstr ""
|
||||
"<span class=\"fa fa-info-circle\"/> Agregue los nombres de columna o el "
|
||||
@@ -68,6 +70,12 @@ msgstr "Columna de importe"
|
||||
msgid "Amount of transaction in journal's currency"
|
||||
msgstr "Monto de la transacción en la moneda del diario"
|
||||
|
||||
#. module: account_statement_import_txt_xlsx
|
||||
#: code:addons/account_statement_import_txt_xlsx/models/account_statement_import.py:0
|
||||
#, python-format
|
||||
msgid "Bad file/mapping: "
|
||||
msgstr ""
|
||||
|
||||
#. module: account_statement_import_txt_xlsx
|
||||
#: model:ir.model.fields,field_description:account_statement_import_txt_xlsx.field_account_statement_import_sheet_mapping__balance_column
|
||||
#: model:ir.model.fields,field_description:account_statement_import_txt_xlsx.field_account_statement_import_sheet_mapping_wizard__balance_column
|
||||
@@ -302,8 +310,8 @@ msgstr ""
|
||||
#: model:ir.model.fields,help:account_statement_import_txt_xlsx.field_account_statement_import_sheet_mapping__original_currency_column
|
||||
#: model:ir.model.fields,help:account_statement_import_txt_xlsx.field_account_statement_import_sheet_mapping_wizard__original_currency_column
|
||||
msgid ""
|
||||
"In case statement provides original currency for transactions with automatic"
|
||||
" currency conversion, column to get original currency of transaction from"
|
||||
"In case statement provides original currency for transactions with automatic "
|
||||
"currency conversion, column to get original currency of transaction from"
|
||||
msgstr ""
|
||||
"En caso de que el extracto proporcione la moneda original para transacciones "
|
||||
"con conversión automática de moneda, columna para obtener la moneda original "
|
||||
@@ -313,8 +321,8 @@ msgstr ""
|
||||
#: model:ir.model.fields,help:account_statement_import_txt_xlsx.field_account_statement_import_sheet_mapping__original_amount_column
|
||||
#: model:ir.model.fields,help:account_statement_import_txt_xlsx.field_account_statement_import_sheet_mapping_wizard__original_amount_column
|
||||
msgid ""
|
||||
"In case statement provides original currency for transactions with automatic"
|
||||
" currency conversion, column to get original transaction amount in original "
|
||||
"In case statement provides original currency for transactions with automatic "
|
||||
"currency conversion, column to get original transaction amount in original "
|
||||
"transaction currency from"
|
||||
msgstr ""
|
||||
"En caso de que el extracto proporcione la moneda original para transacciones "
|
||||
|
||||
@@ -62,6 +62,12 @@ msgstr ""
|
||||
msgid "Amount of transaction in journal's currency"
|
||||
msgstr "Monto de la transacción en la moneda del diario"
|
||||
|
||||
#. module: account_statement_import_txt_xlsx
|
||||
#: code:addons/account_statement_import_txt_xlsx/models/account_statement_import.py:0
|
||||
#, python-format
|
||||
msgid "Bad file/mapping: "
|
||||
msgstr ""
|
||||
|
||||
#. module: account_statement_import_txt_xlsx
|
||||
#: model:ir.model.fields,field_description:account_statement_import_txt_xlsx.field_account_statement_import_sheet_mapping__balance_column
|
||||
#: model:ir.model.fields,field_description:account_statement_import_txt_xlsx.field_account_statement_import_sheet_mapping_wizard__balance_column
|
||||
|
||||
@@ -62,6 +62,12 @@ msgstr ""
|
||||
msgid "Amount of transaction in journal's currency"
|
||||
msgstr "Importo dell'operazione nella valuta del registro"
|
||||
|
||||
#. module: account_statement_import_txt_xlsx
|
||||
#: code:addons/account_statement_import_txt_xlsx/models/account_statement_import.py:0
|
||||
#, python-format
|
||||
msgid "Bad file/mapping: "
|
||||
msgstr ""
|
||||
|
||||
#. module: account_statement_import_txt_xlsx
|
||||
#: model:ir.model.fields,field_description:account_statement_import_txt_xlsx.field_account_statement_import_sheet_mapping__balance_column
|
||||
#: model:ir.model.fields,field_description:account_statement_import_txt_xlsx.field_account_statement_import_sheet_mapping_wizard__balance_column
|
||||
|
||||
@@ -62,6 +62,12 @@ msgstr ""
|
||||
msgid "Amount of transaction in journal's currency"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_statement_import_txt_xlsx
|
||||
#: code:addons/account_statement_import_txt_xlsx/models/account_statement_import.py:0
|
||||
#, python-format
|
||||
msgid "Bad file/mapping: "
|
||||
msgstr ""
|
||||
|
||||
#. module: account_statement_import_txt_xlsx
|
||||
#: model:ir.model.fields,field_description:account_statement_import_txt_xlsx.field_account_statement_import_sheet_mapping__balance_column
|
||||
#: model:ir.model.fields,field_description:account_statement_import_txt_xlsx.field_account_statement_import_sheet_mapping_wizard__balance_column
|
||||
|
||||
@@ -60,6 +60,12 @@ msgstr ""
|
||||
msgid "Amount of transaction in journal's currency"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_statement_import_txt_xlsx
|
||||
#: code:addons/account_statement_import_txt_xlsx/models/account_statement_import.py:0
|
||||
#, python-format
|
||||
msgid "Bad file/mapping: "
|
||||
msgstr ""
|
||||
|
||||
#. module: account_statement_import_txt_xlsx
|
||||
#: model:ir.model.fields,field_description:account_statement_import_txt_xlsx.field_account_statement_import_sheet_mapping__balance_column
|
||||
#: model:ir.model.fields,field_description:account_statement_import_txt_xlsx.field_account_statement_import_sheet_mapping_wizard__balance_column
|
||||
|
||||
@@ -62,6 +62,12 @@ msgstr ""
|
||||
msgid "Amount of transaction in journal's currency"
|
||||
msgstr "原币的交易金额"
|
||||
|
||||
#. module: account_statement_import_txt_xlsx
|
||||
#: code:addons/account_statement_import_txt_xlsx/models/account_statement_import.py:0
|
||||
#, python-format
|
||||
msgid "Bad file/mapping: "
|
||||
msgstr ""
|
||||
|
||||
#. module: account_statement_import_txt_xlsx
|
||||
#: model:ir.model.fields,field_description:account_statement_import_txt_xlsx.field_account_statement_import_sheet_mapping__balance_column
|
||||
#: model:ir.model.fields,field_description:account_statement_import_txt_xlsx.field_account_statement_import_sheet_mapping_wizard__balance_column
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="generator" content="Docutils 0.15.1: http://docutils.sourceforge.net/" />
|
||||
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
|
||||
<title>Bank Statement TXT/CSV/XLSX Import</title>
|
||||
<style type="text/css">
|
||||
|
||||
/*
|
||||
:Author: David Goodger (goodger@python.org)
|
||||
:Id: $Id: html4css1.css 7952 2016-07-26 18:15:59Z milde $
|
||||
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
|
||||
:Copyright: This stylesheet has been placed in the public domain.
|
||||
|
||||
Default cascading style sheet for the HTML output of Docutils.
|
||||
|
||||
See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
|
||||
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
|
||||
customize this style sheet.
|
||||
*/
|
||||
|
||||
@@ -366,30 +366,32 @@ ul.auto-toc {
|
||||
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! changes will be overwritten. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! source digest: sha256:5e6a0e010b851fe8f9d5fe6bf919b19476e415a8f4d3736643ef92e3b3acd402
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
||||
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/bank-statement-import/tree/15.0/account_statement_import_txt_xlsx"><img alt="OCA/bank-statement-import" src="https://img.shields.io/badge/github-OCA%2Fbank--statement--import-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/bank-statement-import-15-0/bank-statement-import-15-0-account_statement_import_txt_xlsx"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/174/15.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
|
||||
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/bank-statement-import/tree/15.0/account_statement_import_txt_xlsx"><img alt="OCA/bank-statement-import" src="https://img.shields.io/badge/github-OCA%2Fbank--statement--import-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/bank-statement-import-15-0/bank-statement-import-15-0-account_statement_import_txt_xlsx"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/bank-statement-import&target_branch=15.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
||||
<p>This module allows you to import any TXT/CSV or XLSX file in Odoo as bank
|
||||
statements.</p>
|
||||
<p><strong>Table of contents</strong></p>
|
||||
<div class="contents local topic" id="contents">
|
||||
<ul class="simple">
|
||||
<li><a class="reference internal" href="#configuration" id="id2">Configuration</a></li>
|
||||
<li><a class="reference internal" href="#usage" id="id3">Usage</a></li>
|
||||
<li><a class="reference internal" href="#changelog" id="id4">Changelog</a><ul>
|
||||
<li><a class="reference internal" href="#id1" id="id5">12.0.2.0.0</a></li>
|
||||
<li><a class="reference internal" href="#configuration" id="toc-entry-1">Configuration</a></li>
|
||||
<li><a class="reference internal" href="#usage" id="toc-entry-2">Usage</a></li>
|
||||
<li><a class="reference internal" href="#changelog" id="toc-entry-3">Changelog</a><ul>
|
||||
<li><a class="reference internal" href="#section-1" id="toc-entry-4">12.0.2.0.0</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a class="reference internal" href="#bug-tracker" id="id6">Bug Tracker</a></li>
|
||||
<li><a class="reference internal" href="#credits" id="id7">Credits</a><ul>
|
||||
<li><a class="reference internal" href="#authors" id="id8">Authors</a></li>
|
||||
<li><a class="reference internal" href="#contributors" id="id9">Contributors</a></li>
|
||||
<li><a class="reference internal" href="#maintainers" id="id10">Maintainers</a></li>
|
||||
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-5">Bug Tracker</a></li>
|
||||
<li><a class="reference internal" href="#credits" id="toc-entry-6">Credits</a><ul>
|
||||
<li><a class="reference internal" href="#authors" id="toc-entry-7">Authors</a></li>
|
||||
<li><a class="reference internal" href="#contributors" id="toc-entry-8">Contributors</a></li>
|
||||
<li><a class="reference internal" href="#maintainers" id="toc-entry-9">Maintainers</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="configuration">
|
||||
<h1><a class="toc-backref" href="#id2">Configuration</a></h1>
|
||||
<h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
|
||||
<p>To create TXT/CSV/XLSX statement sheet columns mapping:</p>
|
||||
<ol class="arabic simple">
|
||||
<li>Open <em>Invoicing > Configuration > Accounting > Statement Sheet Mappings</em></li>
|
||||
@@ -397,7 +399,7 @@ statements.</p>
|
||||
</ol>
|
||||
</div>
|
||||
<div class="section" id="usage">
|
||||
<h1><a class="toc-backref" href="#id3">Usage</a></h1>
|
||||
<h1><a class="toc-backref" href="#toc-entry-2">Usage</a></h1>
|
||||
<p>To use this module, you need to:</p>
|
||||
<ol class="arabic simple">
|
||||
<li>Get statement in TXT/CSV or XLSX from your online banking software</li>
|
||||
@@ -405,9 +407,9 @@ statements.</p>
|
||||
</ol>
|
||||
</div>
|
||||
<div class="section" id="changelog">
|
||||
<h1><a class="toc-backref" href="#id4">Changelog</a></h1>
|
||||
<div class="section" id="id1">
|
||||
<h2><a class="toc-backref" href="#id5">12.0.2.0.0</a></h2>
|
||||
<h1><a class="toc-backref" href="#toc-entry-3">Changelog</a></h1>
|
||||
<div class="section" id="section-1">
|
||||
<h2><a class="toc-backref" href="#toc-entry-4">12.0.2.0.0</a></h2>
|
||||
<ul class="simple">
|
||||
<li>[BREAKING] New mapping, please review mappings after upgrade.</li>
|
||||
<li>[BREAKING] Different bank accounts have to be used per each currency.</li>
|
||||
@@ -417,24 +419,24 @@ statements.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="bug-tracker">
|
||||
<h1><a class="toc-backref" href="#id6">Bug Tracker</a></h1>
|
||||
<h1><a class="toc-backref" href="#toc-entry-5">Bug Tracker</a></h1>
|
||||
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/bank-statement-import/issues">GitHub Issues</a>.
|
||||
In case of trouble, please check there if your issue has already been reported.
|
||||
If you spotted it first, help us smashing it by providing a detailed and welcomed
|
||||
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
||||
<a class="reference external" href="https://github.com/OCA/bank-statement-import/issues/new?body=module:%20account_statement_import_txt_xlsx%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
|
||||
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
||||
</div>
|
||||
<div class="section" id="credits">
|
||||
<h1><a class="toc-backref" href="#id7">Credits</a></h1>
|
||||
<h1><a class="toc-backref" href="#toc-entry-6">Credits</a></h1>
|
||||
<div class="section" id="authors">
|
||||
<h2><a class="toc-backref" href="#id8">Authors</a></h2>
|
||||
<h2><a class="toc-backref" href="#toc-entry-7">Authors</a></h2>
|
||||
<ul class="simple">
|
||||
<li>ForgeFlow</li>
|
||||
<li>CorporateHub</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="contributors">
|
||||
<h2><a class="toc-backref" href="#id9">Contributors</a></h2>
|
||||
<h2><a class="toc-backref" href="#toc-entry-8">Contributors</a></h2>
|
||||
<ul class="simple">
|
||||
<li>Alexis de Lattre <<a class="reference external" href="mailto:alexis.delattre@akretion.com">alexis.delattre@akretion.com</a>></li>
|
||||
<li>Sebastien BEAU <<a class="reference external" href="mailto:sebastien.beau@akretion.com">sebastien.beau@akretion.com</a>></li>
|
||||
@@ -455,14 +457,14 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="maintainers">
|
||||
<h2><a class="toc-backref" href="#id10">Maintainers</a></h2>
|
||||
<h2><a class="toc-backref" href="#toc-entry-9">Maintainers</a></h2>
|
||||
<p>This module is maintained by the OCA.</p>
|
||||
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
|
||||
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
|
||||
mission is to support the collaborative development of Odoo features and
|
||||
promote its widespread use.</p>
|
||||
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
|
||||
<p><a class="reference external" href="https://github.com/alexey-pelykh"><img alt="alexey-pelykh" src="https://github.com/alexey-pelykh.png?size=40px" /></a></p>
|
||||
<p><a class="reference external image-reference" href="https://github.com/alexey-pelykh"><img alt="alexey-pelykh" src="https://github.com/alexey-pelykh.png?size=40px" /></a></p>
|
||||
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/bank-statement-import/tree/15.0/account_statement_import_txt_xlsx">OCA/bank-statement-import</a> project on GitHub.</p>
|
||||
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
|
||||
</div>
|
||||
|
||||
@@ -17,6 +17,14 @@ class TestAccountBankStatementImportTxtXlsx(common.TransactionCase):
|
||||
self.now = fields.Datetime.now()
|
||||
self.currency_eur = self.env.ref("base.EUR")
|
||||
self.currency_usd = self.env.ref("base.USD")
|
||||
self.currency_usd.active = True
|
||||
# Make sure the currency of the company is USD, as this not always happens
|
||||
# To be removed in V17: https://github.com/odoo/odoo/pull/107113
|
||||
self.company = self.env.company
|
||||
self.env.cr.execute(
|
||||
"UPDATE res_company SET currency_id = %s WHERE id = %s",
|
||||
(self.env.ref("base.USD").id, self.company.id),
|
||||
)
|
||||
# Activate EUR for unit test, by default is not active
|
||||
self.currency_eur.active = True
|
||||
self.sample_statement_map = self.env.ref(
|
||||
|
||||
Reference in New Issue
Block a user