c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #05385
[Bug 680468] [NEW] not able to make an allocation request
Public bug reported:
trunk
in hr holiday, allocation request (from Human Resoucres/Holydays /
Allocation Requests).
1) create a new allocation request
2) save or confirm : bug
Traceback (most recent call last):
File "/home/aline/openerp/trunk/server/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/aline/openerp/trunk/server/bin/service/web_services.py", line 586, in dispatch
res = fn(db, uid, *params)
File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 57, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 140, in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 130, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/aline/openerp/trunk/addons/hr_holidays/hr_holidays.py", line 205, in create
return super(hr_holidays, self).create(cr, uid, vals, context=context)
File "/home/aline/openerp/trunk/server/bin/osv/orm.py", line 3748, in create
self._validate(cr, user, [id_new], context)
File "/home/aline/openerp/trunk/server/bin/osv/orm.py", line 1051, in _validate
if not fun(self, cr, uid, ids):
File "/home/aline/openerp/trunk/addons/hr_holidays/hr_holidays.py", line 254, in _check_date
date_from = time.strptime(rec['date_from'], '%Y-%m-%d %H:%M:%S')
File "/usr/lib/python2.6/_strptime.py", line 454, in _strptime_time
return _strptime(data_string, format)[0]
File "/usr/lib/python2.6/_strptime.py", line 322, in _strptime
found = format_regex.match(data_string)
TypeError: expected string or buffer
** Affects: openobject-addons
Importance: High
Assignee: OpenERP R&D Addons Team 3 (openerp-dev-addons3)
Status: Confirmed
** Changed in: openobject-addons
Importance: Undecided => High
** Changed in: openobject-addons
Status: New => Confirmed
** Changed in: openobject-addons
Assignee: (unassigned) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)
--
not able to make an allocation request
https://bugs.launchpad.net/bugs/680468
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: Confirmed
Bug description:
trunk
in hr holiday, allocation request (from Human Resoucres/Holydays / Allocation Requests).
1) create a new allocation request
2) save or confirm : bug
Traceback (most recent call last):
File "/home/aline/openerp/trunk/server/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/aline/openerp/trunk/server/bin/service/web_services.py", line 586, in dispatch
res = fn(db, uid, *params)
File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 57, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 140, in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 130, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/aline/openerp/trunk/addons/hr_holidays/hr_holidays.py", line 205, in create
return super(hr_holidays, self).create(cr, uid, vals, context=context)
File "/home/aline/openerp/trunk/server/bin/osv/orm.py", line 3748, in create
self._validate(cr, user, [id_new], context)
File "/home/aline/openerp/trunk/server/bin/osv/orm.py", line 1051, in _validate
if not fun(self, cr, uid, ids):
File "/home/aline/openerp/trunk/addons/hr_holidays/hr_holidays.py", line 254, in _check_date
date_from = time.strptime(rec['date_from'], '%Y-%m-%d %H:%M:%S')
File "/usr/lib/python2.6/_strptime.py", line 454, in _strptime_time
return _strptime(data_string, format)[0]
File "/usr/lib/python2.6/_strptime.py", line 322, in _strptime
found = format_regex.match(data_string)
TypeError: expected string or buffer
Follow ups
-
[Bug 680468] Re: not able to make an allocation request
From: mra (Open ERP), 2011-01-05
-
[Bug 680468] Re: not able to make an allocation request
From: psi (OpenERP), 2011-01-03
-
[Bug 680468] Re: not able to make an allocation request
From: mra (Open ERP), 2011-01-03
-
[Bug 680468] Re: not able to make an allocation request
From: psi (OpenERP), 2011-01-03
-
[Bug 680468] Re: not able to make an allocation request
From: nch(OpenERP), 2010-12-31
-
[Bug 680468] Re: not able to make an allocation request
From: Fabien (Open ERP), 2010-12-30
-
[Bug 680468] Re: not able to make an allocation request
From: nch(OpenERP), 2010-12-30
-
[Bug 680468] Re: not able to make an allocation request
From: Fabien (Open ERP), 2010-12-30
-
[Bug 680468] Re: not able to make an allocation request
From: Olivier Dony (OpenERP), 2010-12-16
-
[Bug 680468] Re: not able to make an allocation request
From: nch(OpenERP), 2010-12-16
-
[Bug 680468] Re: not able to make an allocation request
From: Olivier Dony (OpenERP), 2010-12-16
-
[Bug 680468] Re: not able to make an allocation request
From: sma (Open ERP), 2010-12-16
-
[Bug 680468] Re: not able to make an allocation request
From: sma (Open ERP), 2010-12-16
-
[Bug 680468] Re: not able to make an allocation request
From: apa (Open ERP), 2010-12-16
-
[Bug 680468] Re: not able to make an allocation request
From: Aline (OpenERP), 2010-12-14
-
[Bug 680468] Re: not able to make an allocation request
From: vda(Open ERP), 2010-12-09
-
[Bug 680468] Re: not able to make an allocation request
From: apa (Open ERP), 2010-12-09
-
[Bug 680468] Re: not able to make an allocation request
From: Aline (OpenERP), 2010-12-08
-
[Bug 680468] Re: not able to make an allocation request
From: Aline (OpenERP), 2010-12-08
-
[Bug 680468] Re: not able to make an allocation request
From: Nicolas Vanhoren (OpenERP), 2010-12-07
-
[Bug 680468] Re: not able to make an allocation request
From: qdp (OpenERP), 2010-12-07
-
[Bug 680468] Re: not able to make an allocation request
From: apa (Open ERP), 2010-12-02
-
[Bug 680468] Re: not able to make an allocation request
From: Launchpad Bug Tracker, 2010-12-02
-
[Bug 680468] [NEW] not able to make an allocation request
From: Aline Preillon, 2010-11-23
References