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/200/head
Ronald Portier (Therp BV) 10 years ago
committed by Benjamin
parent
commit
5dc6d51ad0
  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). creation of the Financial Accounting records).
Backported from Odoo 9.0 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' : [], 'data' : [],
'demo': [], 'demo': [],

30
account_bank_statement_import_ofx/test_ofx_file/test_ofx.ofx

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

Loading…
Cancel
Save