first commit

This commit is contained in:
root
2026-03-14 09:42:12 +00:00
commit 0adbd20c2c
10991 changed files with 1646955 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.

View File

@@ -0,0 +1,105 @@
# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
from io import BytesIO, TextIOWrapper
from coda import CODA
from trytond.i18n import gettext
from trytond.modules.account_statement.exceptions import ImportStatementError
from trytond.pool import Pool, PoolMeta
class StatementImportStart(metaclass=PoolMeta):
__name__ = 'account.statement.import.start'
@classmethod
def __setup__(cls):
super().__setup__()
cls.file_format.selection.append(('coda', "CODA"))
class StatementImport(metaclass=PoolMeta):
__name__ = 'account.statement.import'
def parse_coda(self, encoding='windows-1252'):
file_ = TextIOWrapper(BytesIO(self.start.file_), encoding=encoding)
coda = CODA(file_)
for coda_statement in coda.statements:
statement = self.coda_statement(coda_statement)
origins = []
for move in coda_statement.moves:
origins.extend(self.coda_origin(coda_statement, move))
statement.origins = origins
yield statement
def coda_statement(self, coda_statement):
pool = Pool()
Statement = pool.get('account.statement')
Journal = pool.get('account.statement.journal')
statement = Statement()
statement.name = coda_statement.new_sequence
statement.company = self.start.company
statement.journal = Journal.get_by_bank_account(
statement.company, coda_statement.account,
currency=coda_statement.account_currency)
if not statement.journal:
raise ImportStatementError(
gettext('account_statement.msg_import_no_journal',
account=coda_statement.account))
statement.date = coda_statement.creation_date
statement.start_balance = coda_statement.old_balance
statement.end_balance = coda_statement.new_balance
statement.total_amount = (
coda_statement.total_credit - coda_statement.total_debit)
statement.number_of_lines = len(coda_statement.moves)
return statement
def coda_origin(self, coda_statement, move):
pool = Pool()
Origin = pool.get('account.statement.origin')
origin = Origin()
origin.number = move.sequence
origin.date = move.entry_date
origin.amount = move.amount
origin.party = self.coda_party(coda_statement, move)
# TODO select account using transaction codes
origin.description = move.communication
origin.information = self.coda_information(coda_statement, move)
return [origin]
def coda_party(self, coda_statement, move):
pool = Pool()
AccountNumber = pool.get('bank.account.number')
if not move.counterparty_account:
return
numbers = AccountNumber.search(['OR',
('number', '=', move.counterparty_account),
('number_compact', '=', move.counterparty_account),
])
if len(numbers) == 1:
number, = numbers
if number.account.owners:
return number.account.owners[0]
def coda_information(self, coda_statement, move):
information = {}
for name in [
'bank_reference',
'customer_reference',
'counterparty_bic',
'counterparty_account',
'counterparty_name',
'r_transaction',
'category_purpose',
'purpose',
'transaction_family',
'transaction_transaction',
'transaction_category']:
value = getattr(move, name)
if value:
information['coda_' + name] = value
# TODO add move information
return information

View File

@@ -0,0 +1,91 @@
<?xml version="1.0"?>
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tryton>
<data>
<record model="account.statement.origin.information"
id="information_bank_reference">
<field name="name">coda_bank_reference</field>
<field name="string">Bank Reference</field>
<field name="type_">char</field>
</record>
<record model="account.statement.origin.information"
id="information_customer_reference">
<field name="name">coda_customer_reference</field>
<field name="string">Customer Reference</field>
<field name="type_">char</field>
</record>
<record model="account.statement.origin.information"
id="information_counterparty_bic">
<field name="name">coda_counterparty_bic</field>
<field name="string">Counterparty BIC</field>
<field name="type_">char</field>
</record>
<record model="account.statement.origin.information"
id="information_counterparty_account">
<field name="name">coda_counterparty_account</field>
<field name="string">Counterparty Account</field>
<field name="type_">char</field>
</record>
<record model="account.statement.origin.information"
id="information_counterparty_name">
<field name="name">coda_counterparty_name</field>
<field name="string">Counterparty Name</field>
<field name="type_">char</field>
</record>
<record model="account.statement.origin.information"
id="information_r_transaction">
<field name="name">coda_r_transaction</field>
<field name="string">Return Type</field>
<field name="type_">selection</field>
<field name="selection">0: Paid
1: Reject
2: Return
3: Refund
4: Reversal
5: Cancellation</field>
</record>
<record model="account.statement.origin.information"
id="information_r_reason">
<field name="name">coda_r_reason</field>
<field name="string">Return Reason</field>
<field name="type_">char</field>
<!-- TODO change to selection -->
</record>
<record model="account.statement.origin.information"
id="information_category_purpose">
<field name="name">coda_category_purpose</field>
<field name="string">Category Purpose</field>
<field name="type_">char</field>
<!-- TODO change to selection -->
</record>
<record model="account.statement.origin.information"
id="information_purpose">
<field name="name">coda_purpose</field>
<field name="string">Purpose</field>
<field name="type_">char</field>
<!-- TODO change to selection -->
</record>
<record model="account.statement.origin.information"
id="information_transaction_family">
<field name="name">coda_transaction_family</field>
<field name="string">Transaction Family</field>
<field name="type_">char</field>
<!-- TODO change to selection -->
</record>
<record model="account.statement.origin.information"
id="information_transaction_transaction">
<field name="name">coda_transaction_transaction</field>
<field name="string">Transaction</field>
<field name="type_">char</field>
<!-- TODO change to selection -->
</record>
<record model="account.statement.origin.information"
id="information_transaction_category">
<field name="name">coda_transaction_category</field>
<field name="string">Transaction Category</field>
<field name="type_">char</field>
<!-- TODO change to selection -->
</record>
</data>
</tryton>

View File

@@ -0,0 +1,80 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt ""
"model:account.statement.origin.information,selection:information_r_transaction"
msgid ""
"0: Paid\n"
" 1: Reject\n"
" 2: Return\n"
" 3: Refund\n"
" 4: Reversal\n"
" 5: Cancellation"
msgstr ""
"0: Paid\n"
" 1: Reject\n"
" 2: Return\n"
" 3: Refund\n"
" 4: Reversal\n"
" 5: Cancellation"
msgctxt ""
"model:account.statement.origin.information,string:information_bank_reference"
msgid "Bank Reference"
msgstr "Bank Reference"
msgctxt ""
"model:account.statement.origin.information,string:information_category_purpose"
msgid "Category Purpose"
msgstr "Category Purpose"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_account"
msgid "Counterparty Account"
msgstr "Counterparty Account"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_bic"
msgid "Counterparty BIC"
msgstr "Counterparty BIC"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_name"
msgid "Counterparty Name"
msgstr "Counterparty Name"
msgctxt ""
"model:account.statement.origin.information,string:information_customer_reference"
msgid "Customer Reference"
msgstr "Customer Reference"
msgctxt ""
"model:account.statement.origin.information,string:information_purpose"
msgid "Purpose"
msgstr "Purpose"
msgctxt ""
"model:account.statement.origin.information,string:information_r_reason"
msgid "Return Reason"
msgstr "Return Reason"
msgctxt ""
"model:account.statement.origin.information,string:information_r_transaction"
msgid "Return Type"
msgstr "Return Type"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_category"
msgid "Transaction Category"
msgstr "Transaction Category"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_family"
msgid "Transaction Family"
msgstr "Transaction Family"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_transaction"
msgid "Transaction"
msgstr "Transaction"

View File

@@ -0,0 +1,80 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt ""
"model:account.statement.origin.information,selection:information_r_transaction"
msgid ""
"0: Paid\n"
" 1: Reject\n"
" 2: Return\n"
" 3: Refund\n"
" 4: Reversal\n"
" 5: Cancellation"
msgstr ""
"0: Pagat\n"
"1: Refusat\n"
"2: Retornad\n"
"3: Remborsat\n"
"4: Invers\n"
"5: Cancel·lat"
msgctxt ""
"model:account.statement.origin.information,string:information_bank_reference"
msgid "Bank Reference"
msgstr "Referència bancaria"
msgctxt ""
"model:account.statement.origin.information,string:information_category_purpose"
msgid "Category Purpose"
msgstr "Propòsit de la categoria"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_account"
msgid "Counterparty Account"
msgstr "Compte de contrapartida"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_bic"
msgid "Counterparty BIC"
msgstr "BIC tercer contrapartida"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_name"
msgid "Counterparty Name"
msgstr "Nom tercer contrapartida"
msgctxt ""
"model:account.statement.origin.information,string:information_customer_reference"
msgid "Customer Reference"
msgstr "Referencia client"
msgctxt ""
"model:account.statement.origin.information,string:information_purpose"
msgid "Purpose"
msgstr "Propòsit"
msgctxt ""
"model:account.statement.origin.information,string:information_r_reason"
msgid "Return Reason"
msgstr "Motiu retorn"
msgctxt ""
"model:account.statement.origin.information,string:information_r_transaction"
msgid "Return Type"
msgstr "Tipus de retorn"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_category"
msgid "Transaction Category"
msgstr "Categoria de transacció"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_family"
msgid "Transaction Family"
msgstr "Família de transació"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_transaction"
msgid "Transaction"
msgstr "Transacció"

View File

@@ -0,0 +1,80 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt ""
"model:account.statement.origin.information,selection:information_r_transaction"
msgid ""
"0: Paid\n"
" 1: Reject\n"
" 2: Return\n"
" 3: Refund\n"
" 4: Reversal\n"
" 5: Cancellation"
msgstr ""
"0: Paid\n"
" 1: Reject\n"
" 2: Return\n"
" 3: Refund\n"
" 4: Reversal\n"
" 5: Cancellation"
msgctxt ""
"model:account.statement.origin.information,string:information_bank_reference"
msgid "Bank Reference"
msgstr "Bank Reference"
msgctxt ""
"model:account.statement.origin.information,string:information_category_purpose"
msgid "Category Purpose"
msgstr "Category Purpose"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_account"
msgid "Counterparty Account"
msgstr "Counterparty Account"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_bic"
msgid "Counterparty BIC"
msgstr "Counterparty BIC"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_name"
msgid "Counterparty Name"
msgstr "Counterparty Name"
msgctxt ""
"model:account.statement.origin.information,string:information_customer_reference"
msgid "Customer Reference"
msgstr "Customer Reference"
msgctxt ""
"model:account.statement.origin.information,string:information_purpose"
msgid "Purpose"
msgstr "Purpose"
msgctxt ""
"model:account.statement.origin.information,string:information_r_reason"
msgid "Return Reason"
msgstr "Return Reason"
msgctxt ""
"model:account.statement.origin.information,string:information_r_transaction"
msgid "Return Type"
msgstr "Return Type"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_category"
msgid "Transaction Category"
msgstr "Transaction Category"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_family"
msgid "Transaction Family"
msgstr "Transaction Family"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_transaction"
msgid "Transaction"
msgstr "Transaction"

View File

@@ -0,0 +1,80 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt ""
"model:account.statement.origin.information,selection:information_r_transaction"
msgid ""
"0: Paid\n"
" 1: Reject\n"
" 2: Return\n"
" 3: Refund\n"
" 4: Reversal\n"
" 5: Cancellation"
msgstr ""
"0: Bezahlt\n"
" 1: Abgelehnt\n"
" 2: Returniert\n"
" 3: Rückzahlung\n"
" 4: Rückblastung\n"
" 5: Stornierung"
msgctxt ""
"model:account.statement.origin.information,string:information_bank_reference"
msgid "Bank Reference"
msgstr "Bank-Referenz"
msgctxt ""
"model:account.statement.origin.information,string:information_category_purpose"
msgid "Category Purpose"
msgstr "Ziel der Kategorie"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_account"
msgid "Counterparty Account"
msgstr "Konto der Gegenpartei"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_bic"
msgid "Counterparty BIC"
msgstr "BIC der Gegenpartei"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_name"
msgid "Counterparty Name"
msgstr "Name der Gegenpartei"
msgctxt ""
"model:account.statement.origin.information,string:information_customer_reference"
msgid "Customer Reference"
msgstr "Referenz Kunde"
msgctxt ""
"model:account.statement.origin.information,string:information_purpose"
msgid "Purpose"
msgstr "Zweck"
msgctxt ""
"model:account.statement.origin.information,string:information_r_reason"
msgid "Return Reason"
msgstr "Grund der Rücksendung"
msgctxt ""
"model:account.statement.origin.information,string:information_r_transaction"
msgid "Return Type"
msgstr "Return Type"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_category"
msgid "Transaction Category"
msgstr "Kategorie der Transaktion"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_family"
msgid "Transaction Family"
msgstr "Familie der Transaktion"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_transaction"
msgid "Transaction"
msgstr "Transaktion"

View File

@@ -0,0 +1,80 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt ""
"model:account.statement.origin.information,selection:information_r_transaction"
msgid ""
"0: Paid\n"
" 1: Reject\n"
" 2: Return\n"
" 3: Refund\n"
" 4: Reversal\n"
" 5: Cancellation"
msgstr ""
"0: Pagado\n"
"1: Rehusado\n"
"2: Retornado\n"
"3: Devuelto\n"
"4: Inverso\n"
"5: Cancelado"
msgctxt ""
"model:account.statement.origin.information,string:information_bank_reference"
msgid "Bank Reference"
msgstr "Referencia bancaria"
msgctxt ""
"model:account.statement.origin.information,string:information_category_purpose"
msgid "Category Purpose"
msgstr "Propósito de la categoría"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_account"
msgid "Counterparty Account"
msgstr "Cuenta de contrapartida"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_bic"
msgid "Counterparty BIC"
msgstr "BIC del tercero de contrapartida"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_name"
msgid "Counterparty Name"
msgstr "Nombre del tercero de contrapartida"
msgctxt ""
"model:account.statement.origin.information,string:information_customer_reference"
msgid "Customer Reference"
msgstr "Referencia cliente"
msgctxt ""
"model:account.statement.origin.information,string:information_purpose"
msgid "Purpose"
msgstr "Propósito"
msgctxt ""
"model:account.statement.origin.information,string:information_r_reason"
msgid "Return Reason"
msgstr "Motivo de devolución"
msgctxt ""
"model:account.statement.origin.information,string:information_r_transaction"
msgid "Return Type"
msgstr "Tipo retorno"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_category"
msgid "Transaction Category"
msgstr "Categoría de transacción"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_family"
msgid "Transaction Family"
msgstr "Familia de transacción"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_transaction"
msgid "Transaction"
msgstr "Transacción"

View File

@@ -0,0 +1,74 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt ""
"model:account.statement.origin.information,selection:information_r_transaction"
msgid ""
"0: Paid\n"
" 1: Reject\n"
" 2: Return\n"
" 3: Refund\n"
" 4: Reversal\n"
" 5: Cancellation"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_bank_reference"
msgid "Bank Reference"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_category_purpose"
msgid "Category Purpose"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_account"
msgid "Counterparty Account"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_bic"
msgid "Counterparty BIC"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_name"
msgid "Counterparty Name"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_customer_reference"
msgid "Customer Reference"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_purpose"
msgid "Purpose"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_r_reason"
msgid "Return Reason"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_r_transaction"
msgid "Return Type"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_category"
msgid "Transaction Category"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_family"
msgid "Transaction Family"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_transaction"
msgid "Transaction"
msgstr ""

View File

@@ -0,0 +1,74 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt ""
"model:account.statement.origin.information,selection:information_r_transaction"
msgid ""
"0: Paid\n"
" 1: Reject\n"
" 2: Return\n"
" 3: Refund\n"
" 4: Reversal\n"
" 5: Cancellation"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_bank_reference"
msgid "Bank Reference"
msgstr "Panga viide"
msgctxt ""
"model:account.statement.origin.information,string:information_category_purpose"
msgid "Category Purpose"
msgstr "Kategooria eesmärk"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_account"
msgid "Counterparty Account"
msgstr "Vastaspooel konto"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_bic"
msgid "Counterparty BIC"
msgstr "Vastaspoole BIC"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_name"
msgid "Counterparty Name"
msgstr "Vastaspoole nimi"
msgctxt ""
"model:account.statement.origin.information,string:information_customer_reference"
msgid "Customer Reference"
msgstr "Kliendi viide"
msgctxt ""
"model:account.statement.origin.information,string:information_purpose"
msgid "Purpose"
msgstr "Eesmärk"
msgctxt ""
"model:account.statement.origin.information,string:information_r_reason"
msgid "Return Reason"
msgstr "Tagastamise põhjus"
msgctxt ""
"model:account.statement.origin.information,string:information_r_transaction"
msgid "Return Type"
msgstr "Tagastuse tüüp"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_category"
msgid "Transaction Category"
msgstr "Kande kategooria"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_family"
msgid "Transaction Family"
msgstr "Kande pere"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_transaction"
msgid "Transaction"
msgstr "Kanne"

View File

@@ -0,0 +1,80 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt ""
"model:account.statement.origin.information,selection:information_r_transaction"
msgid ""
"0: Paid\n"
" 1: Reject\n"
" 2: Return\n"
" 3: Refund\n"
" 4: Reversal\n"
" 5: Cancellation"
msgstr ""
"0: پرداخت شد\n"
" 1: ردکنید\n"
" 2: برگشت\n"
" 3: بازپرداخت\n"
" 4: معکوس کردن\n"
" 5: لغوکردن"
msgctxt ""
"model:account.statement.origin.information,string:information_bank_reference"
msgid "Bank Reference"
msgstr "بانک مرجع"
msgctxt ""
"model:account.statement.origin.information,string:information_category_purpose"
msgid "Category Purpose"
msgstr "دسته بندی هدف"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_account"
msgid "Counterparty Account"
msgstr "حساب طرف قرارداد"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_bic"
msgid "Counterparty BIC"
msgstr "طرف قرارداد BIC"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_name"
msgid "Counterparty Name"
msgstr "نام طرف قرارداد"
msgctxt ""
"model:account.statement.origin.information,string:information_customer_reference"
msgid "Customer Reference"
msgstr "مشتری مرجع"
msgctxt ""
"model:account.statement.origin.information,string:information_purpose"
msgid "Purpose"
msgstr "هدف"
msgctxt ""
"model:account.statement.origin.information,string:information_r_reason"
msgid "Return Reason"
msgstr "دلیل برگشت"
msgctxt ""
"model:account.statement.origin.information,string:information_r_transaction"
msgid "Return Type"
msgstr "نوع بازگشتی"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_category"
msgid "Transaction Category"
msgstr "زیرمجموعه تراکنش"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_family"
msgid "Transaction Family"
msgstr "خانواده تراکنش"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_transaction"
msgid "Transaction"
msgstr "تراکنش"

View File

@@ -0,0 +1,80 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt ""
"model:account.statement.origin.information,selection:information_r_transaction"
msgid ""
"0: Paid\n"
" 1: Reject\n"
" 2: Return\n"
" 3: Refund\n"
" 4: Reversal\n"
" 5: Cancellation"
msgstr ""
"0: Paid\n"
" 1: Reject\n"
" 2: Return\n"
" 3: Refund\n"
" 4: Reversal\n"
" 5: Cancellation"
msgctxt ""
"model:account.statement.origin.information,string:information_bank_reference"
msgid "Bank Reference"
msgstr "Bank Reference"
msgctxt ""
"model:account.statement.origin.information,string:information_category_purpose"
msgid "Category Purpose"
msgstr "Category Purpose"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_account"
msgid "Counterparty Account"
msgstr "Counterparty Account"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_bic"
msgid "Counterparty BIC"
msgstr "Counterparty BIC"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_name"
msgid "Counterparty Name"
msgstr "Counterparty Name"
msgctxt ""
"model:account.statement.origin.information,string:information_customer_reference"
msgid "Customer Reference"
msgstr "Customer Reference"
msgctxt ""
"model:account.statement.origin.information,string:information_purpose"
msgid "Purpose"
msgstr "Purpose"
msgctxt ""
"model:account.statement.origin.information,string:information_r_reason"
msgid "Return Reason"
msgstr "Return Reason"
msgctxt ""
"model:account.statement.origin.information,string:information_r_transaction"
msgid "Return Type"
msgstr "Return Type"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_category"
msgid "Transaction Category"
msgstr "Transaction Category"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_family"
msgid "Transaction Family"
msgstr "Transaction Family"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_transaction"
msgid "Transaction"
msgstr "Transaction"

View File

@@ -0,0 +1,80 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt ""
"model:account.statement.origin.information,selection:information_r_transaction"
msgid ""
"0: Paid\n"
" 1: Reject\n"
" 2: Return\n"
" 3: Refund\n"
" 4: Reversal\n"
" 5: Cancellation"
msgstr ""
"0: Payé\n"
" 1: Rejeté\n"
" 2: Retourné\n"
" 3: Remboursé\n"
" 4: Inversion\n"
" 5: Annulation"
msgctxt ""
"model:account.statement.origin.information,string:information_bank_reference"
msgid "Bank Reference"
msgstr "Référence bancaire"
msgctxt ""
"model:account.statement.origin.information,string:information_category_purpose"
msgid "Category Purpose"
msgstr "But de la catégorie"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_account"
msgid "Counterparty Account"
msgstr "Compte de contrepartie"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_bic"
msgid "Counterparty BIC"
msgstr "BIC de contrepartie"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_name"
msgid "Counterparty Name"
msgstr "Nom de la contrepartie"
msgctxt ""
"model:account.statement.origin.information,string:information_customer_reference"
msgid "Customer Reference"
msgstr "Référence client"
msgctxt ""
"model:account.statement.origin.information,string:information_purpose"
msgid "Purpose"
msgstr "But"
msgctxt ""
"model:account.statement.origin.information,string:information_r_reason"
msgid "Return Reason"
msgstr "Raison de retour"
msgctxt ""
"model:account.statement.origin.information,string:information_r_transaction"
msgid "Return Type"
msgstr "Type de retour"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_category"
msgid "Transaction Category"
msgstr "Catégorie de transaction"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_family"
msgid "Transaction Family"
msgstr "Famille de transaction"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_transaction"
msgid "Transaction"
msgstr "Transaction"

View File

@@ -0,0 +1,80 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt ""
"model:account.statement.origin.information,selection:information_r_transaction"
msgid ""
"0: Paid\n"
" 1: Reject\n"
" 2: Return\n"
" 3: Refund\n"
" 4: Reversal\n"
" 5: Cancellation"
msgstr ""
"0: Paid\n"
" 1: Reject\n"
" 2: Return\n"
" 3: Refund\n"
" 4: Reversal\n"
" 5: Cancellation"
msgctxt ""
"model:account.statement.origin.information,string:information_bank_reference"
msgid "Bank Reference"
msgstr "Bank Reference"
msgctxt ""
"model:account.statement.origin.information,string:information_category_purpose"
msgid "Category Purpose"
msgstr "Category Purpose"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_account"
msgid "Counterparty Account"
msgstr "Counterparty Account"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_bic"
msgid "Counterparty BIC"
msgstr "Counterparty BIC"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_name"
msgid "Counterparty Name"
msgstr "Counterparty Name"
msgctxt ""
"model:account.statement.origin.information,string:information_customer_reference"
msgid "Customer Reference"
msgstr "Customer Reference"
msgctxt ""
"model:account.statement.origin.information,string:information_purpose"
msgid "Purpose"
msgstr "Purpose"
msgctxt ""
"model:account.statement.origin.information,string:information_r_reason"
msgid "Return Reason"
msgstr "Return Reason"
msgctxt ""
"model:account.statement.origin.information,string:information_r_transaction"
msgid "Return Type"
msgstr "Return Type"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_category"
msgid "Transaction Category"
msgstr "Transaction Category"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_family"
msgid "Transaction Family"
msgstr "Transaction Family"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_transaction"
msgid "Transaction"
msgstr "Transaction"

View File

@@ -0,0 +1,74 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt ""
"model:account.statement.origin.information,selection:information_r_transaction"
msgid ""
"0: Paid\n"
" 1: Reject\n"
" 2: Return\n"
" 3: Refund\n"
" 4: Reversal\n"
" 5: Cancellation"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_bank_reference"
msgid "Bank Reference"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_category_purpose"
msgid "Category Purpose"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_account"
msgid "Counterparty Account"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_bic"
msgid "Counterparty BIC"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_name"
msgid "Counterparty Name"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_customer_reference"
msgid "Customer Reference"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_purpose"
msgid "Purpose"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_r_reason"
msgid "Return Reason"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_r_transaction"
msgid "Return Type"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_category"
msgid "Transaction Category"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_family"
msgid "Transaction Family"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_transaction"
msgid "Transaction"
msgstr ""

View File

@@ -0,0 +1,80 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt ""
"model:account.statement.origin.information,selection:information_r_transaction"
msgid ""
"0: Paid\n"
" 1: Reject\n"
" 2: Return\n"
" 3: Refund\n"
" 4: Reversal\n"
" 5: Cancellation"
msgstr ""
"0: Pagato\n"
" 1: Rifiuta\n"
" 2: Ritorna\n"
" 3: Rimborsa\n"
" 4: Inversione\n"
" 5: Cancellazione"
msgctxt ""
"model:account.statement.origin.information,string:information_bank_reference"
msgid "Bank Reference"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_category_purpose"
msgid "Category Purpose"
msgstr "Category Purpose"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_account"
msgid "Counterparty Account"
msgstr "Conto della controparte"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_bic"
msgid "Counterparty BIC"
msgstr "BIC della controparte"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_name"
msgid "Counterparty Name"
msgstr "Nome della controparte"
msgctxt ""
"model:account.statement.origin.information,string:information_customer_reference"
msgid "Customer Reference"
msgstr "Riferimento cliente"
msgctxt ""
"model:account.statement.origin.information,string:information_purpose"
msgid "Purpose"
msgstr "Scopo"
msgctxt ""
"model:account.statement.origin.information,string:information_r_reason"
msgid "Return Reason"
msgstr "Motivo del reso"
msgctxt ""
"model:account.statement.origin.information,string:information_r_transaction"
msgid "Return Type"
msgstr "Return Type"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_category"
msgid "Transaction Category"
msgstr "Transaction Category"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_family"
msgid "Transaction Family"
msgstr "Transaction Family"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_transaction"
msgid "Transaction"
msgstr "Transazione"

View File

@@ -0,0 +1,80 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt ""
"model:account.statement.origin.information,selection:information_r_transaction"
msgid ""
"0: Paid\n"
" 1: Reject\n"
" 2: Return\n"
" 3: Refund\n"
" 4: Reversal\n"
" 5: Cancellation"
msgstr ""
"0: Paid\n"
" 1: Reject\n"
" 2: Return\n"
" 3: Refund\n"
" 4: Reversal\n"
" 5: Cancellation"
msgctxt ""
"model:account.statement.origin.information,string:information_bank_reference"
msgid "Bank Reference"
msgstr "Bank Reference"
msgctxt ""
"model:account.statement.origin.information,string:information_category_purpose"
msgid "Category Purpose"
msgstr "Category Purpose"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_account"
msgid "Counterparty Account"
msgstr "Counterparty Account"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_bic"
msgid "Counterparty BIC"
msgstr "Counterparty BIC"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_name"
msgid "Counterparty Name"
msgstr "Counterparty Name"
msgctxt ""
"model:account.statement.origin.information,string:information_customer_reference"
msgid "Customer Reference"
msgstr "Customer Reference"
msgctxt ""
"model:account.statement.origin.information,string:information_purpose"
msgid "Purpose"
msgstr "Purpose"
msgctxt ""
"model:account.statement.origin.information,string:information_r_reason"
msgid "Return Reason"
msgstr "Return Reason"
msgctxt ""
"model:account.statement.origin.information,string:information_r_transaction"
msgid "Return Type"
msgstr "Return Type"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_category"
msgid "Transaction Category"
msgstr "Transaction Category"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_family"
msgid "Transaction Family"
msgstr "Transaction Family"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_transaction"
msgid "Transaction"
msgstr "Transaction"

View File

@@ -0,0 +1,80 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt ""
"model:account.statement.origin.information,selection:information_r_transaction"
msgid ""
"0: Paid\n"
" 1: Reject\n"
" 2: Return\n"
" 3: Refund\n"
" 4: Reversal\n"
" 5: Cancellation"
msgstr ""
"0: Paid\n"
" 1: Reject\n"
" 2: Return\n"
" 3: Refund\n"
" 4: Reversal\n"
" 5: Cancellation"
msgctxt ""
"model:account.statement.origin.information,string:information_bank_reference"
msgid "Bank Reference"
msgstr "Bank Reference"
msgctxt ""
"model:account.statement.origin.information,string:information_category_purpose"
msgid "Category Purpose"
msgstr "Category Purpose"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_account"
msgid "Counterparty Account"
msgstr "Counterparty Account"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_bic"
msgid "Counterparty BIC"
msgstr "Counterparty BIC"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_name"
msgid "Counterparty Name"
msgstr "Counterparty Name"
msgctxt ""
"model:account.statement.origin.information,string:information_customer_reference"
msgid "Customer Reference"
msgstr "Customer Reference"
msgctxt ""
"model:account.statement.origin.information,string:information_purpose"
msgid "Purpose"
msgstr "Purpose"
msgctxt ""
"model:account.statement.origin.information,string:information_r_reason"
msgid "Return Reason"
msgstr "Return Reason"
msgctxt ""
"model:account.statement.origin.information,string:information_r_transaction"
msgid "Return Type"
msgstr "Return Type"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_category"
msgid "Transaction Category"
msgstr "Transaction Category"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_family"
msgid "Transaction Family"
msgstr "Transaction Family"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_transaction"
msgid "Transaction"
msgstr "Transaction"

View File

@@ -0,0 +1,80 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt ""
"model:account.statement.origin.information,selection:information_r_transaction"
msgid ""
"0: Paid\n"
" 1: Reject\n"
" 2: Return\n"
" 3: Refund\n"
" 4: Reversal\n"
" 5: Cancellation"
msgstr ""
"0: Betaald\n"
"                1: Afgewezen\n"
"                2: geretourneerd\n"
"                3: terugbetaald\n"
"                4: omkering (Reversal)\n"
"                5: Annulering"
msgctxt ""
"model:account.statement.origin.information,string:information_bank_reference"
msgid "Bank Reference"
msgstr "Bankreferentie"
msgctxt ""
"model:account.statement.origin.information,string:information_category_purpose"
msgid "Category Purpose"
msgstr "Categorie Doel"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_account"
msgid "Counterparty Account"
msgstr "Rekening van de tegenpartij"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_bic"
msgid "Counterparty BIC"
msgstr "Tegenpartij BIC"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_name"
msgid "Counterparty Name"
msgstr "Naam tegenpartij"
msgctxt ""
"model:account.statement.origin.information,string:information_customer_reference"
msgid "Customer Reference"
msgstr "Klant referentie"
msgctxt ""
"model:account.statement.origin.information,string:information_purpose"
msgid "Purpose"
msgstr "Doel"
msgctxt ""
"model:account.statement.origin.information,string:information_r_reason"
msgid "Return Reason"
msgstr "Reden van de terugzending"
msgctxt ""
"model:account.statement.origin.information,string:information_r_transaction"
msgid "Return Type"
msgstr "Retourtype"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_category"
msgid "Transaction Category"
msgstr "Transactiecategorie"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_family"
msgid "Transaction Family"
msgstr "Transactiefamilie"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_transaction"
msgid "Transaction"
msgstr "Transactie"

View File

@@ -0,0 +1,81 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt ""
"model:account.statement.origin.information,selection:information_r_transaction"
msgid ""
"0: Paid\n"
" 1: Reject\n"
" 2: Return\n"
" 3: Refund\n"
" 4: Reversal\n"
" 5: Cancellation"
msgstr ""
"0: Paid\n"
" 1: Reject\n"
" 2: Return\n"
" 3: Refund\n"
" 4: Reversal\n"
" 5: Cancellation"
msgctxt ""
"model:account.statement.origin.information,string:information_bank_reference"
msgid "Bank Reference"
msgstr "Bank Reference"
msgctxt ""
"model:account.statement.origin.information,string:information_category_purpose"
msgid "Category Purpose"
msgstr "Category Purpose"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_account"
msgid "Counterparty Account"
msgstr "Counterparty Account"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_bic"
msgid "Counterparty BIC"
msgstr "Counterparty BIC"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_name"
msgid "Counterparty Name"
msgstr "Counterparty Name"
msgctxt ""
"model:account.statement.origin.information,string:information_customer_reference"
msgid "Customer Reference"
msgstr "Customer Reference"
msgctxt ""
"model:account.statement.origin.information,string:information_purpose"
msgid "Purpose"
msgstr "Purpose"
msgctxt ""
"model:account.statement.origin.information,string:information_r_reason"
msgid "Return Reason"
msgstr "Return Reason"
msgctxt ""
"model:account.statement.origin.information,string:information_r_transaction"
msgid "Return Type"
msgstr "Return Type"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_category"
msgid "Transaction Category"
msgstr "Transaction Category"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_family"
msgid "Transaction Family"
msgstr "Transaction Family"
#, fuzzy
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_transaction"
msgid "Transaction"
msgstr "Transaction"

View File

@@ -0,0 +1,93 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
#, fuzzy
msgctxt ""
"model:account.statement.origin.information,selection:information_r_transaction"
msgid ""
"0: Paid\n"
" 1: Reject\n"
" 2: Return\n"
" 3: Refund\n"
" 4: Reversal\n"
" 5: Cancellation"
msgstr ""
"0: Paid\n"
" 1: Reject\n"
" 2: Return\n"
" 3: Refund\n"
" 4: Reversal\n"
" 5: Cancellation"
#, fuzzy
msgctxt ""
"model:account.statement.origin.information,string:information_bank_reference"
msgid "Bank Reference"
msgstr "Bank Reference"
#, fuzzy
msgctxt ""
"model:account.statement.origin.information,string:information_category_purpose"
msgid "Category Purpose"
msgstr "Category Purpose"
#, fuzzy
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_account"
msgid "Counterparty Account"
msgstr "Counterparty Account"
#, fuzzy
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_bic"
msgid "Counterparty BIC"
msgstr "Counterparty BIC"
#, fuzzy
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_name"
msgid "Counterparty Name"
msgstr "Counterparty Name"
#, fuzzy
msgctxt ""
"model:account.statement.origin.information,string:information_customer_reference"
msgid "Customer Reference"
msgstr "Customer Reference"
#, fuzzy
msgctxt ""
"model:account.statement.origin.information,string:information_purpose"
msgid "Purpose"
msgstr "Purpose"
#, fuzzy
msgctxt ""
"model:account.statement.origin.information,string:information_r_reason"
msgid "Return Reason"
msgstr "Return Reason"
#, fuzzy
msgctxt ""
"model:account.statement.origin.information,string:information_r_transaction"
msgid "Return Type"
msgstr "Return Type"
#, fuzzy
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_category"
msgid "Transaction Category"
msgstr "Transaction Category"
#, fuzzy
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_family"
msgid "Transaction Family"
msgstr "Transaction Family"
#, fuzzy
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_transaction"
msgid "Transaction"
msgstr "Transaction"

View File

@@ -0,0 +1,86 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
#, fuzzy
msgctxt ""
"model:account.statement.origin.information,selection:information_r_transaction"
msgid ""
"0: Paid\n"
" 1: Reject\n"
" 2: Return\n"
" 3: Refund\n"
" 4: Reversal\n"
" 5: Cancellation"
msgstr ""
"0: Platit\n"
" 1: Respingere\n"
" 2: Returnare\n"
" 3: Restituire\n"
" 4: Inversare\n"
" 5: Anulare"
#, fuzzy
msgctxt ""
"model:account.statement.origin.information,string:information_bank_reference"
msgid "Bank Reference"
msgstr "Referinta Bancara"
#, fuzzy
msgctxt ""
"model:account.statement.origin.information,string:information_category_purpose"
msgid "Category Purpose"
msgstr "Scop Categorie"
#, fuzzy
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_account"
msgid "Counterparty Account"
msgstr "Cont de Contraparte"
#, fuzzy
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_bic"
msgid "Counterparty BIC"
msgstr "BIC Contraparte"
#, fuzzy
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_name"
msgid "Counterparty Name"
msgstr "Nume Contraparte"
msgctxt ""
"model:account.statement.origin.information,string:information_customer_reference"
msgid "Customer Reference"
msgstr "Referinta Client"
msgctxt ""
"model:account.statement.origin.information,string:information_purpose"
msgid "Purpose"
msgstr "Scop"
msgctxt ""
"model:account.statement.origin.information,string:information_r_reason"
msgid "Return Reason"
msgstr "Motiv Retur"
msgctxt ""
"model:account.statement.origin.information,string:information_r_transaction"
msgid "Return Type"
msgstr "Tip Retur"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_category"
msgid "Transaction Category"
msgstr "Categorie Tranzactie"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_family"
msgid "Transaction Family"
msgstr "Familie Tranzactie"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_transaction"
msgid "Transaction"
msgstr "Tranzactie"

View File

@@ -0,0 +1,80 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt ""
"model:account.statement.origin.information,selection:information_r_transaction"
msgid ""
"0: Paid\n"
" 1: Reject\n"
" 2: Return\n"
" 3: Refund\n"
" 4: Reversal\n"
" 5: Cancellation"
msgstr ""
"0: Paid\n"
" 1: Reject\n"
" 2: Return\n"
" 3: Refund\n"
" 4: Reversal\n"
" 5: Cancellation"
msgctxt ""
"model:account.statement.origin.information,string:information_bank_reference"
msgid "Bank Reference"
msgstr "Bank Reference"
msgctxt ""
"model:account.statement.origin.information,string:information_category_purpose"
msgid "Category Purpose"
msgstr "Category Purpose"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_account"
msgid "Counterparty Account"
msgstr "Counterparty Account"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_bic"
msgid "Counterparty BIC"
msgstr "Counterparty BIC"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_name"
msgid "Counterparty Name"
msgstr "Counterparty Name"
msgctxt ""
"model:account.statement.origin.information,string:information_customer_reference"
msgid "Customer Reference"
msgstr "Customer Reference"
msgctxt ""
"model:account.statement.origin.information,string:information_purpose"
msgid "Purpose"
msgstr "Purpose"
msgctxt ""
"model:account.statement.origin.information,string:information_r_reason"
msgid "Return Reason"
msgstr "Return Reason"
msgctxt ""
"model:account.statement.origin.information,string:information_r_transaction"
msgid "Return Type"
msgstr "Return Type"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_category"
msgid "Transaction Category"
msgstr "Transaction Category"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_family"
msgid "Transaction Family"
msgstr "Transaction Family"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_transaction"
msgid "Transaction"
msgstr "Transaction"

View File

@@ -0,0 +1,80 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt ""
"model:account.statement.origin.information,selection:information_r_transaction"
msgid ""
"0: Paid\n"
" 1: Reject\n"
" 2: Return\n"
" 3: Refund\n"
" 4: Reversal\n"
" 5: Cancellation"
msgstr ""
"0: Paid\n"
" 1: Reject\n"
" 2: Return\n"
" 3: Refund\n"
" 4: Reversal\n"
" 5: Cancellation"
msgctxt ""
"model:account.statement.origin.information,string:information_bank_reference"
msgid "Bank Reference"
msgstr "Bank Reference"
msgctxt ""
"model:account.statement.origin.information,string:information_category_purpose"
msgid "Category Purpose"
msgstr "Category Purpose"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_account"
msgid "Counterparty Account"
msgstr "Counterparty Account"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_bic"
msgid "Counterparty BIC"
msgstr "Counterparty BIC"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_name"
msgid "Counterparty Name"
msgstr "Counterparty Name"
msgctxt ""
"model:account.statement.origin.information,string:information_customer_reference"
msgid "Customer Reference"
msgstr "Customer Reference"
msgctxt ""
"model:account.statement.origin.information,string:information_purpose"
msgid "Purpose"
msgstr "Purpose"
msgctxt ""
"model:account.statement.origin.information,string:information_r_reason"
msgid "Return Reason"
msgstr "Return Reason"
msgctxt ""
"model:account.statement.origin.information,string:information_r_transaction"
msgid "Return Type"
msgstr "Return Type"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_category"
msgid "Transaction Category"
msgstr "Transaction Category"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_family"
msgid "Transaction Family"
msgstr "Transaction Family"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_transaction"
msgid "Transaction"
msgstr "Transaction"

View File

@@ -0,0 +1,80 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt ""
"model:account.statement.origin.information,selection:information_r_transaction"
msgid ""
"0: Paid\n"
" 1: Reject\n"
" 2: Return\n"
" 3: Refund\n"
" 4: Reversal\n"
" 5: Cancellation"
msgstr ""
"0: Paid\n"
" 1: Reject\n"
" 2: Return\n"
" 3: Refund\n"
" 4: Reversal\n"
" 5: Cancellation"
msgctxt ""
"model:account.statement.origin.information,string:information_bank_reference"
msgid "Bank Reference"
msgstr "Bank Reference"
msgctxt ""
"model:account.statement.origin.information,string:information_category_purpose"
msgid "Category Purpose"
msgstr "Category Purpose"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_account"
msgid "Counterparty Account"
msgstr "Counterparty Account"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_bic"
msgid "Counterparty BIC"
msgstr "Counterparty BIC"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_name"
msgid "Counterparty Name"
msgstr "Counterparty Name"
msgctxt ""
"model:account.statement.origin.information,string:information_customer_reference"
msgid "Customer Reference"
msgstr "Customer Reference"
msgctxt ""
"model:account.statement.origin.information,string:information_purpose"
msgid "Purpose"
msgstr "Purpose"
msgctxt ""
"model:account.statement.origin.information,string:information_r_reason"
msgid "Return Reason"
msgstr "Return Reason"
msgctxt ""
"model:account.statement.origin.information,string:information_r_transaction"
msgid "Return Type"
msgstr "Return Type"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_category"
msgid "Transaction Category"
msgstr "Transaction Category"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_family"
msgid "Transaction Family"
msgstr "Transaction Family"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_transaction"
msgid "Transaction"
msgstr "Transaction"

View File

@@ -0,0 +1,74 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt ""
"model:account.statement.origin.information,selection:information_r_transaction"
msgid ""
"0: Paid\n"
" 1: Reject\n"
" 2: Return\n"
" 3: Refund\n"
" 4: Reversal\n"
" 5: Cancellation"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_bank_reference"
msgid "Bank Reference"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_category_purpose"
msgid "Category Purpose"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_account"
msgid "Counterparty Account"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_bic"
msgid "Counterparty BIC"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_name"
msgid "Counterparty Name"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_customer_reference"
msgid "Customer Reference"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_purpose"
msgid "Purpose"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_r_reason"
msgid "Return Reason"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_r_transaction"
msgid "Return Type"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_category"
msgid "Transaction Category"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_family"
msgid "Transaction Family"
msgstr ""
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_transaction"
msgid "Transaction"
msgstr ""

View File

@@ -0,0 +1,80 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt ""
"model:account.statement.origin.information,selection:information_r_transaction"
msgid ""
"0: Paid\n"
" 1: Reject\n"
" 2: Return\n"
" 3: Refund\n"
" 4: Reversal\n"
" 5: Cancellation"
msgstr ""
"0: Paid\n"
" 1: Reject\n"
" 2: Return\n"
" 3: Refund\n"
" 4: Reversal\n"
" 5: Cancellation"
msgctxt ""
"model:account.statement.origin.information,string:information_bank_reference"
msgid "Bank Reference"
msgstr "Bank Reference"
msgctxt ""
"model:account.statement.origin.information,string:information_category_purpose"
msgid "Category Purpose"
msgstr "Category Purpose"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_account"
msgid "Counterparty Account"
msgstr "Counterparty Account"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_bic"
msgid "Counterparty BIC"
msgstr "Counterparty BIC"
msgctxt ""
"model:account.statement.origin.information,string:information_counterparty_name"
msgid "Counterparty Name"
msgstr "Counterparty Name"
msgctxt ""
"model:account.statement.origin.information,string:information_customer_reference"
msgid "Customer Reference"
msgstr "Customer Reference"
msgctxt ""
"model:account.statement.origin.information,string:information_purpose"
msgid "Purpose"
msgstr "Purpose"
msgctxt ""
"model:account.statement.origin.information,string:information_r_reason"
msgid "Return Reason"
msgstr "Return Reason"
msgctxt ""
"model:account.statement.origin.information,string:information_r_transaction"
msgid "Return Type"
msgstr "Return Type"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_category"
msgid "Transaction Category"
msgstr "Transaction Category"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_family"
msgid "Transaction Family"
msgstr "Transaction Family"
msgctxt ""
"model:account.statement.origin.information,string:information_transaction_transaction"
msgid "Transaction"
msgstr "Transaction"

View File

@@ -0,0 +1,5 @@
0000001081700005 Address BBRUBEBB0 0403200393 00000 2
12001BE47435000000080 EUR0000000000000000010717DUNDER MIFFLIN 001
2100010000REF BANK 0000000000100000200717001010000COMMUNICATION 19071700100 0
8001BE47435000000080 EUR0000000000100000010817 0
9 000003000000000000000000000000100000 2

View File

@@ -0,0 +1,2 @@
# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.

View File

@@ -0,0 +1,105 @@
===============================
Account Statement Coda Scenario
===============================
Imports::
>>> from functools import partial
>>> from proteus import Model, Wizard
>>> from trytond.modules.account.tests.tools import create_chart, get_accounts
>>> from trytond.modules.company.tests.tools import create_company, get_company
>>> from trytond.tests.tools import activate_modules
>>> from trytond.tools import file_open
Activate modules::
>>> config = activate_modules(
... 'account_statement_coda',
... partial(create_company, currency='EUR'), create_chart)
Get company::
>>> company = get_company()
Get accounts::
>>> accounts = get_accounts()
>>> cash = accounts['cash']
Create parties::
>>> Party = Model.get('party.party')
>>> customer = Party(name="Customer")
>>> customer.save()
>>> bank_party = Party(name="Bank")
>>> bank_party.save()
Create Bank Account::
>>> Bank = Model.get('bank')
>>> BankAccount = Model.get('bank.account')
>>> bank = Bank()
>>> bank.party = bank_party
>>> bank.save()
>>> bank_account = BankAccount()
>>> bank_account.bank = bank
>>> bank_account.owners.append(Party(company.party.id))
>>> bank_account.currency = company.currency
>>> bank_account_number = bank_account.numbers.new()
>>> bank_account_number.type = 'iban'
>>> bank_account_number.number = 'BE47435000000080'
>>> bank_account.save()
Create Statement Journal::
>>> AccountJournal = Model.get('account.journal')
>>> StatementJournal = Model.get('account.statement.journal')
>>> account_journal, = AccountJournal.find([('code', '=', 'STA')], limit=1)
>>> journal = StatementJournal(name="Bank",
... journal=account_journal,
... account=cash,
... bank_account=bank_account,
... )
>>> journal.save()
Import CODA file::
>>> statement_import = Wizard('account.statement.import')
>>> with file_open('account_statement_coda/tests/CODA.txt', mode='rb') as fp:
... coda = fp.read()
>>> statement_import.form.file_ = coda
>>> statement_import.form.file_format = 'coda'
>>> statement_import.execute('import_')
Check Statement::
>>> Statement = Model.get('account.statement')
>>> statement, = Statement.find([])
>>> statement.name
'001'
>>> statement.date
datetime.date(2017, 8, 1)
>>> statement.start_balance
Decimal('0')
>>> statement.end_balance
Decimal('100')
>>> statement.total_amount
Decimal('100')
>>> statement.number_of_lines
1
>>> len(statement.origins)
1
>>> origin, = statement.origins
>>> origin.number
'0001'
>>> origin.date
datetime.date(2017, 7, 19)
>>> origin.amount
Decimal('100')
>>> origin.description
'COMMUNICATION'
>>> origin.information['coda_bank_reference']
'REF BANK '

View File

@@ -0,0 +1,12 @@
# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
from trytond.tests.test_tryton import ModuleTestCase
class AccountStatementCodaTestCase(ModuleTestCase):
'Test Account Statement Coda module'
module = 'account_statement_coda'
del ModuleTestCase

View File

@@ -0,0 +1,8 @@
# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
from trytond.tests.test_tryton import load_doc_tests
def load_tests(*args, **kwargs):
return load_doc_tests(__name__, __file__, *args, **kwargs)

View File

@@ -0,0 +1,14 @@
[tryton]
version=7.8.0
depends:
account_statement
bank
ir
xml:
account.xml
[register]
model:
account.StatementImportStart
wizard:
account.StatementImport