← Back to team overview

openerp-india team mailing list archive

[Bug 933172] Re: Nightly build of feb 15 - accunting and finance module fails with Validation error

 

The module that fails with the message above is "account". However, for
several of the dependencies to "account" I received error messages
popups.

A more detailed error from /var/log/openerp-server.log:

2012-02-16 02:39:11,781 23436 ERROR demodb openerp.tools.yaml_import: ('ValidateError', u'Error occurred while validating the field(s) date_stop: Invalid period ! Some periods overlap or the date period is not in the scope of the fiscal year. ')
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/openerp/tools/yaml_import.py", line 843, in process
    self._process_node(node)
  File "/usr/lib/pymodules/python2.6/openerp/tools/yaml_import.py", line 858, in _process_node
    self.process_python(node)
  File "/usr/lib/pymodules/python2.6/openerp/tools/yaml_import.py", line 529, in process_python
    unsafe_eval(code_obj, {'ref': self.get_id}, code_context)
  File "/usr/lib/pymodules/python2.6/openerp/addons/account/account_pre_install.yml", line 16, in <module>
    })
  File "/usr/lib/pymodules/python2.6/openerp/addons/account/installer.py", line 147, in execute_simple
    fy_obj.create_period(cr, uid, [fiscal_id])
  File "/usr/lib/pymodules/python2.6/openerp/addons/account/account.py", line 942, in create_period
    'fiscalyear_id': fy.id,
  File "/usr/lib/pymodules/python2.6/openerp/osv/orm.py", line 4186, in create
    self._validate(cr, user, [id_new], context)
  File "/usr/lib/pymodules/python2.6/openerp/osv/orm.py", line 1461, in _validate
    raise except_orm('ValidateError', '\n'.join(error_msgs))
except_orm: ('ValidateError', u'Error occurred while validating the field(s) date_stop: Invalid period ! Some periods overlap or the date period is not in the scope of the fiscal year. ')
2012-02-16 02:39:11,783 23436 ERROR demodb openerp.netsvc: ValidateError
Error occurred while validating the field(s) date_stop: Invalid period ! Some periods overlap or the date period is not in the scope of the fiscal year

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/933172

Title:
  Nightly build of feb 15 - accunting and finance module fails with
  Validation error

Status in OpenERP Addons (modules):
  New

Bug description:
  0) Install the nightly build: openerp_6.1dev-20120215-020001-1_all.deb 
  1) from the logon screen at http://localhost:8069, select manage database and create a new base
  2) you will end up immediately in the select module list, select the module "Accounting and Finance"
  3) On the pop-up (Install your Chart of Accounts), choose the generic Chart of accounts, from 01/01/2012 to 12/31/2012, select set Periods to "Monthly", then click "Configure"

  Result:
  OpenERP Warning	

  ValidateError

  Error occurred while validating the field(s) date_stop: Invalid period
  ! Some periods overlap or the date period is not in the scope of the
  fiscal year.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/933172/+subscriptions


References