← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 708553] [NEW] bug in the configuration of hr_recruitment

 

Public bug reported:

trunk, hr module

to reproduce :

- create a db without demo data -> choose extended view and then skip other wizard. 
- go to administration -> modules -> module list and install hr (only hr) and launch configuration wizards
- in the configure hr application wizard, choose recruitment and leaves and configure 

bug


[2011-01-27 11:23:56,682][usertest_test] INFO:init:module hr_recruitment: loading objects
[2011-01-27 11:23:56,691][usertest_test] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
  File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/aline/openerp/trunk/server/bin/addons/base/res/res_config.py", line 167, in action_next
    next = self.execute(cr, uid, ids, context=None)
  File "/home/aline/openerp/trunk/server/bin/addons/base/res/res_config.py", line 397, in execute
    new_db, self.pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "/home/aline/openerp/trunk/server/bin/pooler.py", line 60, in restart_pool
    return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
  File "/home/aline/openerp/trunk/server/bin/pooler.py", line 39, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/home/aline/openerp/trunk/server/bin/addons/__init__.py", line 883, in load_modules
    processed_modules.extend(load_module_graph(cr, graph, status, report=report, skip_modules=processed_modules))
  File "/home/aline/openerp/trunk/server/bin/addons/__init__.py", line 717, in load_module_graph
    modules = pool.instanciate(package.name, cr)
  File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 258, in instanciate
    res.append(klass.createInstance(self, module, cr))
  File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 359, in createInstance
    obj.__init__(pool, cr)
  File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 265, in __init__
    super(osv_base, self).__init__(cr)
  File "/home/aline/openerp/trunk/server/bin/osv/orm.py", line 2762, in __init__
    f.digits_change(cr)
  File "/home/aline/openerp/trunk/server/bin/osv/fields.py", line 191, in digits_change
    t = self.digits_compute(cr)
  File "/home/aline/openerp/trunk/addons/decimal_precision/decimal_precision.py", line 59, in change_digit
    res = pooler.get_pool(cr.dbname).get('decimal.precision').precision_get(cr, 1, application)
AttributeError: 'NoneType' object has no attribute 'precision_get'

** Affects: openobject-addons
     Importance: High
     Assignee: OpenERP R&D Addons Team 3 (openerp-dev-addons3)
         Status: Confirmed

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/708553

Title:
  bug in the configuration of hr_recruitment

Status in OpenERP Modules (addons):
  Confirmed

Bug description:
  trunk, hr module

  to reproduce :

  - create a db without demo data -> choose extended view and then skip other wizard. 
  - go to administration -> modules -> module list and install hr (only hr) and launch configuration wizards
  - in the configure hr application wizard, choose recruitment and leaves and configure 

  bug

  
  [2011-01-27 11:23:56,682][usertest_test] INFO:init:module hr_recruitment: loading objects
  [2011-01-27 11:23:56,691][usertest_test] ERROR:web-services:Uncaught exception
  Traceback (most recent call last):
    File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/aline/openerp/trunk/server/bin/addons/base/res/res_config.py", line 167, in action_next
      next = self.execute(cr, uid, ids, context=None)
    File "/home/aline/openerp/trunk/server/bin/addons/base/res/res_config.py", line 397, in execute
      new_db, self.pool = pooler.restart_pool(cr.dbname, update_module=True)
    File "/home/aline/openerp/trunk/server/bin/pooler.py", line 60, in restart_pool
      return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
    File "/home/aline/openerp/trunk/server/bin/pooler.py", line 39, in get_db_and_pool
      addons.load_modules(db, force_demo, status, update_module)
    File "/home/aline/openerp/trunk/server/bin/addons/__init__.py", line 883, in load_modules
      processed_modules.extend(load_module_graph(cr, graph, status, report=report, skip_modules=processed_modules))
    File "/home/aline/openerp/trunk/server/bin/addons/__init__.py", line 717, in load_module_graph
      modules = pool.instanciate(package.name, cr)
    File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 258, in instanciate
      res.append(klass.createInstance(self, module, cr))
    File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 359, in createInstance
      obj.__init__(pool, cr)
    File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 265, in __init__
      super(osv_base, self).__init__(cr)
    File "/home/aline/openerp/trunk/server/bin/osv/orm.py", line 2762, in __init__
      f.digits_change(cr)
    File "/home/aline/openerp/trunk/server/bin/osv/fields.py", line 191, in digits_change
      t = self.digits_compute(cr)
    File "/home/aline/openerp/trunk/addons/decimal_precision/decimal_precision.py", line 59, in change_digit
      res = pooler.get_pool(cr.dbname).get('decimal.precision').precision_get(cr, 1, application)
  AttributeError: 'NoneType' object has no attribute 'precision_get'





Follow ups

References