Browse Source

[FIX] Reverse change of year 2013 to 2014 in test files, and add warning

to module descriptions that periods in 2013 should exist when using
    test-files.
pull/2/head
Ronald Portier (Therp BV) 10 years ago
parent
commit
44240a39ab
  1. 4
      account_bank_statement_import_ofx/__openerp__.py
  2. 30
      account_bank_statement_import_ofx/test_ofx_file/test_ofx.ofx
  3. 4
      account_bank_statement_import_qif/__openerp__.py
  4. 10
      account_bank_statement_import_qif/test_qif_file/test_qif.qif

4
account_bank_statement_import_ofx/__openerp__.py

@ -16,6 +16,10 @@ Bank Statements may be generated containing a subset of the OFX information (onl
creation of the Financial Accounting records).
Backported from Odoo 9.0
When testing with the provided test file, make sure the demo data from the
base account_bank_statement_import module has been imported, or manually
create periods for the year 2013.
""",
'data' : [],
'demo': [],

30
account_bank_statement_import_ofx/test_ofx_file/test_ofx.ofx

@ -7,7 +7,7 @@
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<DTSERVER>20140831165153.000[-8:PST]</DTSERVER>
<DTSERVER>20130831165153.000[-8:PST]</DTSERVER>
<LANGUAGE>ENG</LANGUAGE>
</SONRS>
</SIGNONMSGSRSV1>
@ -26,44 +26,44 @@
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
<BANKTRANLIST>
<DTSTART>20140801</DTSTART>
<DTEND>20140831165153.000[-8:PST]</DTEND>
<DTSTART>20130801</DTSTART>
<DTEND>20130831165153.000[-8:PST]</DTEND>
<STMTTRN>
<TRNTYPE>POS</TRNTYPE>
<DTPOSTED>20140824080000</DTPOSTED>
<DTPOSTED>20130824080000</DTPOSTED>
<TRNAMT>-80</TRNAMT>
<FITID>219378</FITID>
<NAME>Agrolait</NAME>
</STMTTRN>
</BANKTRANLIST>
<BANKTRANLIST>
<DTSTART>20140801</DTSTART>
<DTEND>20140831165153.000[-8:PST]</DTEND>
<DTSTART>20130801</DTSTART>
<DTEND>20130831165153.000[-8:PST]</DTEND>
<STMTTRN>
<TRNTYPE>POS</TRNTYPE>
<DTPOSTED>20140824080000</DTPOSTED>
<DTPOSTED>20130824080000</DTPOSTED>
<TRNAMT>-90</TRNAMT>
<FITID>219379</FITID>
<NAME>China Export</NAME>
</STMTTRN>
</BANKTRANLIST>
<BANKTRANLIST>
<DTSTART>20140801</DTSTART>
<DTEND>20140831165153.000[-8:PST]</DTEND>
<DTSTART>20130801</DTSTART>
<DTEND>20130831165153.000[-8:PST]</DTEND>
<STMTTRN>
<TRNTYPE>POS</TRNTYPE>
<DTPOSTED>20140824080000</DTPOSTED>
<DTPOSTED>20130824080000</DTPOSTED>
<TRNAMT>-100</TRNAMT>
<FITID>219380</FITID>
<NAME>Axelor Scuba</NAME>
</STMTTRN>
</BANKTRANLIST>
<BANKTRANLIST>
<DTSTART>20140801</DTSTART>
<DTEND>20140831165153.000[-8:PST]</DTEND>
<DTSTART>20130801</DTSTART>
<DTEND>20130831165153.000[-8:PST]</DTEND>
<STMTTRN>
<TRNTYPE>POS</TRNTYPE>
<DTPOSTED>20140824080000</DTPOSTED>
<DTPOSTED>20130824080000</DTPOSTED>
<TRNAMT>-90</TRNAMT>
<FITID>219381</FITID>
<NAME>China Scuba</NAME>
@ -71,7 +71,7 @@
</BANKTRANLIST>
<LEDGERBAL>
<BALAMT>2156.56</BALAMT>
<DTASOF>20140831165153</DTASOF>
<DTASOF>20130831165153</DTASOF>
</LEDGERBAL>
</STMTRS>
</STMTTRNRS>
@ -92,7 +92,7 @@
</BANKTRANLIST>
<LEDGERBAL>
<BALAMT>-562.00</BALAMT>
<DTASOF>20140831165153</DTASOF>
<DTASOF>20130831165153</DTASOF>
</LEDGERBAL>
</CCSTMTRS>
</CCSTMTTRNRS>

4
account_bank_statement_import_qif/__openerp__.py

@ -15,6 +15,10 @@ Bank Statements may be generated containing a subset of the QIF information (onl
creation of the Financial Accounting records).
Backported from Odoo 9.0
When testing with the provided test file, make sure the demo data from the
base account_bank_statement_import module has been imported, or manually
create periods for the year 2013.
''',
'images' : [],
'depends': ['account_bank_statement_import'],

10
account_bank_statement_import_qif/test_qif_file/test_qif.qif

@ -1,21 +1,21 @@
!Type:Bank
D8/12/14
D8/12/13
T-1,000.00
PDelta PC
^
D8/15/14
D8/15/13
T-75.46
PWalts Drugs
^
D3/3/14
D3/3/13
T-379.00
PEpic Technologies
^
D3/4/14
D3/4/13
T-20.28
PYOUR LOCAL SUPERMARKET
^
D3/3/14
D3/3/13
T-421.35
PSPRINGFIELD WATER UTILITY
^
Loading…
Cancel
Save