OpenERP error "There is no period defined" while confirming a sale quotation

How to resolve OpenERP error "There is no period defined" 

OpenERP is throwing this error because there are no periods defined in the system for this date. This usually happens when the year changes. Users will get the below error message when confirming the sales quotation.

Error message

Error message shown while confirming the quotation.

Steps

1. Log in to OpenERP with Admin level privilege account.

2. Navigate to “Accounting” tab. Click on the option “Periods” under “Configuration” from the left panel.

Navigate to Periods

3. Click on the “Fiscal Years” option.

Fiscal years

4. Click on “Create” button. Define the fiscal year as shown in the example below.

Create a fiscal year

6. Click on “Create Monthly Periods” and it will generate the periods as shown below.

Create monthly periods

7. Click on “Save” button to save the periods and fiscal year. There should not be any error now while confirming the quotations.