c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #02124
[Bug 669867] Re: [6.0RC1] payroll price_accuracy error on install
Hello Ferdinand,
Would you please check again with the updated code as the fix of bug
have been released in latest version.If you still get the error then
reopen it.
Thanks.
** Changed in: openobject-addons
Status: New => Fix Released
--
[6.0RC1] payroll price_accuracy error on install
https://bugs.launchpad.net/bugs/669867
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Addons Modules: Fix Released
Bug description:
Environment Information :
System : Linux-2.6.34.7-0.4-desktop-x86_64-with-SuSE-11.3-x86_64
OS Name : posix
LSB Version: core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64:desktop-4.0-amd64:desktop-4.0-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch
Distributor ID: SUSE LINUX
Description: openSUSE 11.3 (x86_64)
Release: 11.3
Codename: n/a
Operating System Release : 2.6.34.7-0.4-desktop
Operating System Version : #1 SMP PREEMPT 2010-10-07 19:07:51 +0200
Operating System Architecture : 64bit
Operating System Locale : en_US.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.0.0-rc1-1
Last revision No. & ID :1653 nch@xxxxxxxxxxx-20101027100015-29aewqn6mv73abbq
Traceback (most recent call last):
File "/home2/gass/OpenERP/trunk/openobject-server/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home2/gass/OpenERP/trunk/openobject-server/bin/service/web_services.py", line 586, in dispatch
res = fn(db, uid, *params)
File "/home2/gass/OpenERP/trunk/openobject-server/bin/osv/osv.py", line 57, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home2/gass/OpenERP/trunk/openobject-server/bin/osv/osv.py", line 140, in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home2/gass/OpenERP/trunk/openobject-server/bin/osv/osv.py", line 130, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home2/gass/OpenERP/trunk/openobject-server/bin/addons/base/res/res_config.py", line 181, in action_next
next = self.execute(cr, uid, ids, context=None)
File "/home2/gass/OpenERP/trunk/openobject-server/bin/addons/base/res/res_config.py", line 419, in execute
pooler.restart_pool(cr.dbname, update_module=True)
File "/home2/gass/OpenERP/trunk/openobject-server/bin/pooler.py", line 60, in restart_pool
return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
File "/home2/gass/OpenERP/trunk/openobject-server/bin/pooler.py", line 39, in get_db_and_pool
addons.load_modules(db, force_demo, status, update_module)
File "/home2/gass/OpenERP/trunk/openobject-server/bin/addons/__init__.py", line 853, in load_modules
r = load_module_graph(cr, graph, status, report=report)
File "/home2/gass/OpenERP/trunk/openobject-server/bin/addons/__init__.py", line 698, in load_module_graph
register_class(package.name)
File "/home2/gass/OpenERP/trunk/openobject-server/bin/addons/__init__.py", line 441, in register_class
imp.load_module(m, *fm)
File "/home2/gass/OpenERP/trunk/openobject-server/bin/addons/hr_payroll/__init__.py", line 24, in <module>
import hr_payroll
File "/home2/gass/OpenERP/trunk/openobject-server/bin/addons/hr_payroll/hr_payroll.py", line 104, in <module>
class payroll_register(osv.osv):
File "/home2/gass/OpenERP/trunk/openobject-server/bin/addons/hr_payroll/hr_payroll.py", line 152, in payroll_register
'grows': fields.function(_calculate, method=True, store=True, multi='dc', string='Gross Salary', type='float', digits=(16, int(config['price_accuracy']))),
File "/home2/gass/OpenERP/trunk/openobject-server/bin/tools/config.py", line 475, in __getitem__
return self.options[key]
KeyError: 'price_accuracy'
References