Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syncing from upstream OCA/bank-statement-import (16.0) #505

Merged
merged 10 commits into from
Feb 7, 2024
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ addon | version | maintainers | summary
[account_statement_import_file](account_statement_import_file/) | 16.0.1.0.2 | [![alexis-via](https://github.com/alexis-via.png?size=30px)](https://github.com/alexis-via) | Import Statement Files
[account_statement_import_file_reconcile_oca](account_statement_import_file_reconcile_oca/) | 16.0.1.0.0 | [![alexis-via](https://github.com/alexis-via.png?size=30px)](https://github.com/alexis-via) | Import Statement Files and Go Direct to Reconciliation
[account_statement_import_ofx](account_statement_import_ofx/) | 16.0.1.0.0 | [![alexis-via](https://github.com/alexis-via.png?size=30px)](https://github.com/alexis-via) | Import OFX Bank Statement
[account_statement_import_online](account_statement_import_online/) | 16.0.1.2.0 | [![alexey-pelykh](https://github.com/alexey-pelykh.png?size=30px)](https://github.com/alexey-pelykh) | Online bank statements update
[account_statement_import_online](account_statement_import_online/) | 16.0.1.2.1 | [![alexey-pelykh](https://github.com/alexey-pelykh.png?size=30px)](https://github.com/alexey-pelykh) | Online bank statements update
[account_statement_import_online_paypal](account_statement_import_online_paypal/) | 16.0.1.0.1 | [![alexey-pelykh](https://github.com/alexey-pelykh.png?size=30px)](https://github.com/alexey-pelykh) | Online bank statements for PayPal.com
[account_statement_import_online_ponto](account_statement_import_online_ponto/) | 16.0.1.1.0 | | Online Bank Statements: MyPonto.com
[account_statement_import_sheet_file](account_statement_import_sheet_file/) | 16.0.1.0.0 | [![alexey-pelykh](https://github.com/alexey-pelykh.png?size=30px)](https://github.com/alexey-pelykh) | Import TXT/CSV or XLSX files as Bank Statements in Odoo
[account_statement_import_sheet_file](account_statement_import_sheet_file/) | 16.0.1.1.0 | [![alexey-pelykh](https://github.com/alexey-pelykh.png?size=30px)](https://github.com/alexey-pelykh) | Import TXT/CSV or XLSX files as Bank Statements in Odoo

[//]: # (end addons)

Expand Down
2 changes: 1 addition & 1 deletion account_statement_import_online/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Online Bank Statements
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:c2c6fa7e76620768efb21c4cde6d59bf79f3822a9c7fa04ba7316b7884342757
!! source digest: sha256:4e776391899046c094042c9d36dca977e7ac73c791ddc904eaf5ad65c33f2e32
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand Down
2 changes: 1 addition & 1 deletion account_statement_import_online/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

{
"name": "Online Bank Statements",
"version": "16.0.1.2.0",
"version": "16.0.1.2.1",
"author": "CorporateHub, Odoo Community Association (OCA)",
"maintainers": ["alexey-pelykh"],
"website": "https://github.com/OCA/bank-statement-import",
Expand Down
3 changes: 2 additions & 1 deletion account_statement_import_online/models/account_journal.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ def create(self, vals_list):
def write(self, vals):
self._update_vals(vals)
res = super().write(vals)
self._update_providers()
if vals.get("online_bank_statement_provider"):
self._update_providers()
return res

def _update_vals(self, vals):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ <h1 class="title">Online Bank Statements</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:c2c6fa7e76620768efb21c4cde6d59bf79f3822a9c7fa04ba7316b7884342757
!! source digest: sha256:4e776391899046c094042c9d36dca977e7ac73c791ddc904eaf5ad65c33f2e32
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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/16.0/account_statement_import_online"><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-16-0/bank-statement-import-16-0-account_statement_import_online"><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&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module provides base for building online bank statements providers.</p>
Expand Down
2 changes: 1 addition & 1 deletion account_statement_import_sheet_file/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Bank Statement TXT/CSV/XLSX Import
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:987e1d38f2275461270dcb08917d239239dc18849a4ea903f46639d9363f2189
!! source digest: sha256:c8e0097cb830a29effa292f9506517867878e72a0d0fffbc8974ecf6a68fb34f
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand Down
2 changes: 1 addition & 1 deletion account_statement_import_sheet_file/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{
"name": "Bank Statement TXT/CSV/XLSX Import",
"summary": "Import TXT/CSV or XLSX files as Bank Statements in Odoo",
"version": "16.0.1.0.0",
"version": "16.0.1.1.0",
"category": "Accounting",
"website": "https://github.com/OCA/bank-statement-import",
"author": "ForgeFlow, CorporateHub, Odoo Community Association (OCA)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,19 @@ msgid ""
"transaction currency from"
msgstr ""

#. module: account_statement_import_sheet_file
#: model:ir.model.fields,help:account_statement_import_sheet_file.field_account_statement_import_sheet_mapping__amount_inverse_sign
msgid ""
"In some cases such as in credit card statements the amounts are expressed in"
" the inverse sign. By setting this flag during the upload the amounts will "
"be inverted in sign."
msgstr ""

#. module: account_statement_import_sheet_file
#: model:ir.model.fields,field_description:account_statement_import_sheet_file.field_account_statement_import_sheet_mapping__amount_inverse_sign
msgid "Inverse sign of amount"
msgstr ""

#. module: account_statement_import_sheet_file
#: model:ir.model.fields.selection,name:account_statement_import_sheet_file.selection__account_statement_import_sheet_mapping__file_encoding__shift_jis
msgid "Japanese (Shift JIS)"
Expand Down
64 changes: 53 additions & 11 deletions account_statement_import_sheet_file/i18n/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,19 @@ msgstr ""
"con conversión automática de moneda, columna para obtener el monto de la "
"transacción original en la moneda de la transacción original de"

#. module: account_statement_import_sheet_file
#: model:ir.model.fields,help:account_statement_import_sheet_file.field_account_statement_import_sheet_mapping__amount_inverse_sign
msgid ""
"In some cases such as in credit card statements the amounts are expressed in "
"the inverse sign. By setting this flag during the upload the amounts will be "
"inverted in sign."
msgstr ""

#. module: account_statement_import_sheet_file
#: model:ir.model.fields,field_description:account_statement_import_sheet_file.field_account_statement_import_sheet_mapping__amount_inverse_sign
msgid "Inverse sign of amount"
msgstr ""

#. module: account_statement_import_sheet_file
#: model:ir.model.fields.selection,name:account_statement_import_sheet_file.selection__account_statement_import_sheet_mapping__file_encoding__shift_jis
msgid "Japanese (Shift JIS)"
Expand Down Expand Up @@ -399,16 +412,11 @@ msgstr "Valor simple"
#. module: account_statement_import_sheet_file
#: model:ir.model.fields,help:account_statement_import_sheet_file.field_account_statement_import_sheet_mapping__amount_type
msgid ""
"Simple value: use igned amount in ammount comlumn\n"
"Absolute Value: use a same comlumn for debit and credit\n"
"Simple value: use igned amount in amount column\n"
"Absolute Value: use a same column for debit and credit\n"
"(absolute value + indicate sign)\n"
"Distinct Credit/debit Column: use a distinct comlumn for debit and credit"
"Distinct Credit/debit Column: use a distinct column for debit and credit"
msgstr ""
"Valor simple: utilizar un importe ignorado en la columna importe\n"
"Valor absoluto: utilizar una misma columna para el Debe y el Haber\n"
"(valor absoluto + signo indicativo)\n"
"Columna distinta para débito y crédito: utilice una columna distinta para "
"débito y crédito"

#. module: account_statement_import_sheet_file
#: model_terms:ir.ui.view,arch_db:account_statement_import_sheet_file.view_account_journal_form_n43
Expand Down Expand Up @@ -489,9 +497,27 @@ msgid "Unique transaction ID column"
msgstr "Columna de ID único de trasacción"

#. module: account_statement_import_sheet_file
#: model:ir.model.constraint,message:account_statement_import_sheet_file.constraint_account_statement_import_sheet_mapping_check_amount_columns
msgid "Use amount_column OR (amount_debit_column AND amount_credit_column)."
msgstr "Usar amount_column OR (amount_debit_column AND amount_credit_column)."
#. odoo-python
#: code:addons/account_statement_import_sheet_file/models/account_statement_import_sheet_mapping.py:0
#, python-format
msgid "Use amount_column if you have set Amount type = 'Single value'"
msgstr ""

#. module: account_statement_import_sheet_file
#. odoo-python
#: code:addons/account_statement_import_sheet_file/models/account_statement_import_sheet_mapping.py:0
#, python-format
msgid ""
"Use amount_debit_column and amount_credit_column if you have set Amount type "
"= 'Distinct Credit/debit Column'"
msgstr ""

#. module: account_statement_import_sheet_file
#. odoo-python
#: code:addons/account_statement_import_sheet_file/models/account_statement_import_sheet_mapping.py:0
#, python-format
msgid "Use debit_credit_column if you have set Amount type = 'Absolute value'"
msgstr ""

#. module: account_statement_import_sheet_file
#: model:ir.model.fields,help:account_statement_import_sheet_file.field_account_statement_import_sheet_mapping__debit_credit_column
Expand Down Expand Up @@ -580,3 +606,19 @@ msgstr "espacio"
#: model:ir.model.fields.selection,name:account_statement_import_sheet_file.selection__account_statement_import_sheet_mapping__delimiter__tab
msgid "tab"
msgstr "tabulador"

#~ msgid ""
#~ "Simple value: use igned amount in ammount comlumn\n"
#~ "Absolute Value: use a same comlumn for debit and credit\n"
#~ "(absolute value + indicate sign)\n"
#~ "Distinct Credit/debit Column: use a distinct comlumn for debit and credit"
#~ msgstr ""
#~ "Valor simple: utilizar un importe ignorado en la columna importe\n"
#~ "Valor absoluto: utilizar una misma columna para el Debe y el Haber\n"
#~ "(valor absoluto + signo indicativo)\n"
#~ "Columna distinta para débito y crédito: utilice una columna distinta para "
#~ "débito y crédito"

#~ msgid "Use amount_column OR (amount_debit_column AND amount_credit_column)."
#~ msgstr ""
#~ "Usar amount_column OR (amount_debit_column AND amount_credit_column)."
53 changes: 42 additions & 11 deletions account_statement_import_sheet_file/i18n/es_AR.po
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,6 @@ msgstr "Mostrar Nombre"
#. module: account_statement_import_sheet_file
#: model:ir.model.fields.selection,name:account_statement_import_sheet_file.selection__account_statement_import_sheet_mapping__amount_type__distinct_credit_debit
#, fuzzy
#| msgid "Debit/Credit column"
msgid "Distinct Credit/debit Column"
msgstr "Columna de Débito/Crédito"

Expand Down Expand Up @@ -306,6 +305,19 @@ msgstr ""
"transacciones con conversión automática de moneda, columna para obtener el "
"monto de la transacción original en la moneda de la transacción original"

#. module: account_statement_import_sheet_file
#: model:ir.model.fields,help:account_statement_import_sheet_file.field_account_statement_import_sheet_mapping__amount_inverse_sign
msgid ""
"In some cases such as in credit card statements the amounts are expressed in "
"the inverse sign. By setting this flag during the upload the amounts will be "
"inverted in sign."
msgstr ""

#. module: account_statement_import_sheet_file
#: model:ir.model.fields,field_description:account_statement_import_sheet_file.field_account_statement_import_sheet_mapping__amount_inverse_sign
msgid "Inverse sign of amount"
msgstr ""

#. module: account_statement_import_sheet_file
#: model:ir.model.fields.selection,name:account_statement_import_sheet_file.selection__account_statement_import_sheet_mapping__file_encoding__shift_jis
msgid "Japanese (Shift JIS)"
Expand Down Expand Up @@ -419,10 +431,10 @@ msgstr ""
#. module: account_statement_import_sheet_file
#: model:ir.model.fields,help:account_statement_import_sheet_file.field_account_statement_import_sheet_mapping__amount_type
msgid ""
"Simple value: use igned amount in ammount comlumn\n"
"Absolute Value: use a same comlumn for debit and credit\n"
"Simple value: use igned amount in amount column\n"
"Absolute Value: use a same column for debit and credit\n"
"(absolute value + indicate sign)\n"
"Distinct Credit/debit Column: use a distinct comlumn for debit and credit"
"Distinct Credit/debit Column: use a distinct column for debit and credit"
msgstr ""

#. module: account_statement_import_sheet_file
Expand Down Expand Up @@ -505,17 +517,31 @@ msgid "Unique transaction ID column"
msgstr "Columna de ID único de transacción"

#. module: account_statement_import_sheet_file
#: model:ir.model.constraint,message:account_statement_import_sheet_file.constraint_account_statement_import_sheet_mapping_check_amount_columns
#, fuzzy
msgid "Use amount_column OR (amount_debit_column AND amount_credit_column)."
msgstr "Usar amount_column OR (amount_debit_column AND amount_credit_column)."
#. odoo-python
#: code:addons/account_statement_import_sheet_file/models/account_statement_import_sheet_mapping.py:0
#, python-format
msgid "Use amount_column if you have set Amount type = 'Single value'"
msgstr ""

#. module: account_statement_import_sheet_file
#. odoo-python
#: code:addons/account_statement_import_sheet_file/models/account_statement_import_sheet_mapping.py:0
#, python-format
msgid ""
"Use amount_debit_column and amount_credit_column if you have set Amount type "
"= 'Distinct Credit/debit Column'"
msgstr ""

#. module: account_statement_import_sheet_file
#. odoo-python
#: code:addons/account_statement_import_sheet_file/models/account_statement_import_sheet_mapping.py:0
#, python-format
msgid "Use debit_credit_column if you have set Amount type = 'Absolute value'"
msgstr ""

#. module: account_statement_import_sheet_file
#: model:ir.model.fields,help:account_statement_import_sheet_file.field_account_statement_import_sheet_mapping__debit_credit_column
#, fuzzy
#| msgid ""
#| "Some statement formats use absolute amount value and indicate signof the "
#| "transaction by specifying if it was a debit or a credit one"
msgid ""
"Used if amount type is \"Absolute value\"\n"
"Some statement formats use absolute amount value and indicate sign\n"
Expand Down Expand Up @@ -598,3 +624,8 @@ msgstr "espacio"
#: model:ir.model.fields.selection,name:account_statement_import_sheet_file.selection__account_statement_import_sheet_mapping__delimiter__tab
msgid "tab"
msgstr "tabulación"

#, fuzzy
#~ msgid "Use amount_column OR (amount_debit_column AND amount_credit_column)."
#~ msgstr ""
#~ "Usar amount_column OR (amount_debit_column AND amount_credit_column)."
45 changes: 36 additions & 9 deletions account_statement_import_sheet_file/i18n/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ msgstr "Nome visualizzato"
#. module: account_statement_import_sheet_file
#: model:ir.model.fields.selection,name:account_statement_import_sheet_file.selection__account_statement_import_sheet_mapping__amount_type__distinct_credit_debit
#, fuzzy
#| msgid "Debit/Credit column"
msgid "Distinct Credit/debit Column"
msgstr "Colonna dare/avere"

Expand Down Expand Up @@ -283,6 +282,19 @@ msgstr ""
"operazioni con conversione automatica, colonna dalla quale ottenere "
"l'importo originario dell'operazione in tale valuta"

#. module: account_statement_import_sheet_file
#: model:ir.model.fields,help:account_statement_import_sheet_file.field_account_statement_import_sheet_mapping__amount_inverse_sign
msgid ""
"In some cases such as in credit card statements the amounts are expressed in "
"the inverse sign. By setting this flag during the upload the amounts will be "
"inverted in sign."
msgstr ""

#. module: account_statement_import_sheet_file
#: model:ir.model.fields,field_description:account_statement_import_sheet_file.field_account_statement_import_sheet_mapping__amount_inverse_sign
msgid "Inverse sign of amount"
msgstr ""

#. module: account_statement_import_sheet_file
#: model:ir.model.fields.selection,name:account_statement_import_sheet_file.selection__account_statement_import_sheet_mapping__file_encoding__shift_jis
msgid "Japanese (Shift JIS)"
Expand Down Expand Up @@ -391,10 +403,10 @@ msgstr ""
#. module: account_statement_import_sheet_file
#: model:ir.model.fields,help:account_statement_import_sheet_file.field_account_statement_import_sheet_mapping__amount_type
msgid ""
"Simple value: use igned amount in ammount comlumn\n"
"Absolute Value: use a same comlumn for debit and credit\n"
"Simple value: use igned amount in amount column\n"
"Absolute Value: use a same column for debit and credit\n"
"(absolute value + indicate sign)\n"
"Distinct Credit/debit Column: use a distinct comlumn for debit and credit"
"Distinct Credit/debit Column: use a distinct column for debit and credit"
msgstr ""

#. module: account_statement_import_sheet_file
Expand Down Expand Up @@ -476,16 +488,31 @@ msgid "Unique transaction ID column"
msgstr "Colonna ID operazione univoca"

#. module: account_statement_import_sheet_file
#: model:ir.model.constraint,message:account_statement_import_sheet_file.constraint_account_statement_import_sheet_mapping_check_amount_columns
msgid "Use amount_column OR (amount_debit_column AND amount_credit_column)."
#. odoo-python
#: code:addons/account_statement_import_sheet_file/models/account_statement_import_sheet_mapping.py:0
#, python-format
msgid "Use amount_column if you have set Amount type = 'Single value'"
msgstr ""

#. module: account_statement_import_sheet_file
#. odoo-python
#: code:addons/account_statement_import_sheet_file/models/account_statement_import_sheet_mapping.py:0
#, python-format
msgid ""
"Use amount_debit_column and amount_credit_column if you have set Amount type "
"= 'Distinct Credit/debit Column'"
msgstr ""

#. module: account_statement_import_sheet_file
#. odoo-python
#: code:addons/account_statement_import_sheet_file/models/account_statement_import_sheet_mapping.py:0
#, python-format
msgid "Use debit_credit_column if you have set Amount type = 'Absolute value'"
msgstr ""

#. module: account_statement_import_sheet_file
#: model:ir.model.fields,help:account_statement_import_sheet_file.field_account_statement_import_sheet_mapping__debit_credit_column
#, fuzzy
#| msgid ""
#| "Some statement formats use absolute amount value and indicate signof the "
#| "transaction by specifying if it was a debit or a credit one"
msgid ""
"Used if amount type is \"Absolute value\"\n"
"Some statement formats use absolute amount value and indicate sign\n"
Expand Down
Loading
Loading