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). 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>

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). 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.
''', ''',
'images' : [], 'images' : [],
'depends': ['account_bank_statement_import'], 'depends': ['account_bank_statement_import'],

10
account_bank_statement_import_qif/test_qif_file/test_qif.qif

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