Odoo Help


How to solve IndexError in import bank statements?

on 2/15/13, 6:23 AM 1,465 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]

I used the module account_banking.




| 5 6 9
Lisse, Netherlands
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.
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)

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


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