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/142/head
Ronald Portier (Therp BV) 10 years ago
committed by Nicolas JEUDY
parent
commit
95eb1e54e6
  1. 4
      account_bank_statement_import_ofx/__openerp__.py
  2. 30
      account_bank_statement_import_ofx/test_ofx_file/test_ofx.ofx

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>

Loading…
Cancel
Save