Odoo Help


How to solve IndexError in import bank statements?

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

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: 1305 times
Last updated: 3/16/15, 8:10 AM