Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

How to solve IndexError in import bank statements?

By
ton123
on 2/15/13, 6:23 AM 967 views

When I tried to import the last bank statements over the year 2012 there was an error tracing back to:

period_id = period_ids[0]
IndexError.

I used the module account_banking.

1

ton123

--ton123--
1418
| 5 6 9
Lisse, Netherlands
--ton123--
End-User. Installed 6.1.1 on a DS412+, DS211+ and DS113J Synology NAS. Reference installation on Ubuntu 12.04/Samsung Notebook. 12-03-2013 In production for Suppliers and Customers, adresbook. 7 small companies. Testing accounting, document management, import and export. Too much showstoppers I haven't fixed at this moment. 06-05-2013 little progress. Migration to v7 impossible because of missing Dutch localisation modules. What I see working is nice, so further testing and asking. Start testing products and warehouse. Happy with this forum and the community.
ton123
On 2/15/13, 6:33 AM

This error is caused by the lack of defined periods for the year 2013. The bank statements file I was trying to import has references to both 2012 and 2013.

The import needs periods for all the references in the bank statements file. When I imported the file the periods for 2013 where not defined.

After I defined the periods for 2013 the problem was solved.

This can be done going to:

accounting/configuration/fincancial accounting/periods/fiscal years (or periods)

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 2/15/13, 6:23 AM
Seen: 967 times
Last updated: 3/16/15, 8:10 AM