Problem with Accounting Configuration

Bug #1103854 reported by Yoshi Tashiro
48
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Medium
OpenERP R&D Addons Team 3

Bug Description

Nightly build: openerp-7.0-20130122-001415

There seem to be problems with Accounting configuration screen.

1. Invalid period error message when updating Accounting configuration
I was trying to update (select) the "Allow multi currencies" option. When I tried to apply the change, I got an ValidateError message that said "Error occurred while validating the field(s) date_stop: Error! The period is invalid. Either some periods are overlapping or the period's dates are not matching the scope of the fiscal year."

The fiscal year had been set for 5/1/2012 - 4/1/2012 with monthly periods with no overlap, so this message appeared wrong.

I temporarily deleted the period setting and I was able to apply the change to the "Allow multi currencies" option.

2. "Gain Exchange Rate Account" and "Loss Exchange Rate Account" fields do not update
After above steps, I input gain and loss accounts in these fields, then hit "Apply". No error message shows and I'm pushed to the home screen which is Inbox in Messaging. I go back to the Accounting configuration screen and find the fields are not updated with my input.

Not sure if these occur only under certain conditions or I'm misunderstanding some steps.

Tags: invoicing
Revision history for this message
Yoshi Tashiro (yostashiro) wrote :

Noticed a mistake where I mention the fiscal year. It's 5/1/2012 - 4/1/2013.

Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Yoshi,

When you try to install the account module then "Chart of Account"s configuration wizrard comes for installing a chart of account.

From here you can create a fiscal year and period ( 5/1/2012 - 4/1/2013) then after try to select "Allow multi currencies" option.

I think you have overlapped the period on two differenent fiscal year that's why this kind if problem is gerenated.

Thanks and waiting for your reply!

Changed in openobject-addons:
status: New → Incomplete
Revision history for this message
Yoshi Tashiro (yostashiro) wrote :

Hi Amit,

Thanks for your comment.

I did exactly what you mention and I am sure that there was no overlap in fiscal year and period (btw, I made a mistake again on the period above - should be "5/1/2012 - 4/30/2013". Sorry about the confusion!).

Doesn't this replicate in your environment? I created a new database and started over but the same errors occur...

Revision history for this message
Elias Torres (eliastorres) wrote :

To replicate it:

* Create a new database
* Install account_accountant
* In wizard Select Costa Rica, Company 0, Change Fiscal Year from 10/1/2012 to 9/30/2013
* Go to Setup, try to select "Allow multi currencies", the follow error will appear:

The period is invalid. Either some periods are overlapping or the period's dates are not matching the scope of the fiscal year.

Version used: 7.0-20130127-000101
Installed using Debian package.

Changed in openobject-addons:
status: Incomplete → Confirmed
Changed in openobject-addons:
importance: Undecided → Medium
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) wrote :

Hello,

I would like to propose a related fix for version 7.0 this particular bug which is already fixes by support team in ticket reply.
https://code.launchpad.net/~openerp-dev/openobject-addons/7.0-opw-584557-dhs/+merge/144493

Thanks.

Revision history for this message
Josse Colpaert (OpenERP) (jco-openerp) wrote :

Second part is bug 1076509. In fact the account is saved but not shown again.

Revision history for this message
alain desnos (adesnos) wrote :

I have the same problem openerp V7 last version on nightly build
linux ubuntu 12.04 lts
french account

You can reproduice on https://www.openerp.com/admin#view_type=kanban&model=ir.module.module today

If fiscal year is not 01/01/20xx to 31/12/20xx (french date) you get the error
Error occurred while validating the field(s) date_stop: Error!
The period is invalid. Either some periods are overlapping or the period's dates are not matching the scope of the fiscal year.

error is not the same if you install fiscalyear from 01/10/2012 to 30/09/2013
or from 01/03/2013 to 28/02/2014 (french date)

if you chage Next invoice number.

IT'IS CRITICAL

Thanks
Best regards

Changed in openobject-addons:
status: Confirmed → In Progress
Changed in openobject-addons:
status: In Progress → Confirmed
Revision history for this message
Maxime Chambreuil (http://www.savoirfairelinux.com) (max3903) wrote :

I had the same problem here with an earlier revision.

I fixed temporarily by changing the default start_date and end_date in account/res_config.py to match my fiscal year dates.

I think It has been fixed with this commit:
http://bazaar.launchpad.net/~openerp/openobject-addons/7.0/revision/9105

Amit Parik (amit-parik)
tags: added: invoicing
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.