[stable] [hr_holidays] holiday request python error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I choose Human Resources - New Holidays Request
Then I enter Description, Employee and Contact No.
When I try to save form, select Request or Create Days I get the error message:
Environment Information :
System : Linux-2.
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 10.04.1 LTS
Release: 10.04
Codename: lucid
Operating System Release : 2.6.32-24-generic
Operating System Version : #38-Ubuntu SMP Mon Jul 5 09:22:14 UTC 2010
Operating System Architecture : 32bit
Operating System Locale : pl_PL.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 5.0.12
Last revision No. & ID :1083 <email address hidden>
Traceback (most recent call last):
File "/home/
result = LocalService(
File "/home/
return getattr(self, method)(*params)
File "/home/
res = super(recording
File "/home/
res = service.execute(db, uid, object, method, *args)
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
return super(hr_holidays, self).create(cr, uid, vals, context=context)
File "/home/
id_holiday = super(hr_holidays, self).create(cr, uid, vals, *args, **kwargs)
File "/home/
self.
File "/home/
if not fun(self, cr, uid, ids):
File "/home/
date_from = time.strptime(
File "/usr/lib/
return _strptime(
File "/usr/lib/
found = format_
TypeError: expected string or buffer
Related branches
Changed in openobject-addons: | |
status: | New → Confirmed |
Fixed by revision 4446 <email address hidden>.
Thanks.