changeset 8f388a8060e8 in modules/account_statement_aeb43:default
details: 
https://hg.tryton.org/modules/account_statement_aeb43?cmd=changeset;node=8f388a8060e8
description:
        Rename informations to information

        issue7926
        review54491002
diffstat:

 CHANGELOG                                  |  4 +++-
 statement.py                               |  4 ++--
 tests/scenario_account_statement_aeb43.rst |  6 +++---
 3 files changed, 8 insertions(+), 6 deletions(-)

diffs (42 lines):

diff -r 5166f2d5e3bc -r 8f388a8060e8 CHANGELOG
--- a/CHANGELOG Sat Jan 26 01:10:47 2019 +0100
+++ b/CHANGELOG Wed Feb 06 22:34:13 2019 +0100
@@ -1,2 +1,4 @@
+* Rename aeb43_informations to aeb43_information
+
 Version 5.0.0 - 2018-10-01
-* Initial release
\ No newline at end of file
+* Initial release
diff -r 5166f2d5e3bc -r 8f388a8060e8 statement.py
--- a/statement.py      Sat Jan 26 01:10:47 2019 +0100
+++ b/statement.py      Wed Feb 06 22:34:13 2019 +0100
@@ -88,10 +88,10 @@
             if item.item2:
                 descriptions.append(item.item2)
         origin.description = ''.join(descriptions)
-        origin.informations = self.aeb43_informations(statement, transaction)
+        origin.information = self.aeb43_information(statement, transaction)
         return [origin]
 
-    def aeb43_informations(self, statement, transaction):
+    def aeb43_information(self, statement, transaction):
         return {
             'aeb43_operation_date': transaction.transactionDate,
             'aeb43_record_type': transaction.sharedItem,
diff -r 5166f2d5e3bc -r 8f388a8060e8 tests/scenario_account_statement_aeb43.rst
--- a/tests/scenario_account_statement_aeb43.rst        Sat Jan 26 01:10:47 
2019 +0100
+++ b/tests/scenario_account_statement_aeb43.rst        Wed Feb 06 22:34:13 
2019 +0100
@@ -113,9 +113,9 @@
     Decimal('-10.98')
     >>> origin.description
     'COMPRA TARG 5540XXXXXXXX3014 DNH*MICHAEL SCOTT'
-    >>> origin.informations['aeb43_record_type']
+    >>> origin.information['aeb43_record_type']
     '12'
-    >>> origin.informations['aeb43_first_reference']
+    >>> origin.information['aeb43_first_reference']
     '000000000000'
-    >>> origin.informations['aeb43_second_reference']
+    >>> origin.information['aeb43_second_reference']
     '5540014387733014'

Reply via email to