← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 728858] Re: Unable to create a new leave or allocation request in web-client

 

For your reference, this is the traceback I get:

[2011-03-04 11:13:32,909][hr_holidays] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
  File "/home/tiny/trunk/openobject-server/openerp/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/tiny/trunk/openobject-server/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/tiny/trunk/openobject-server/openerp/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/tiny/trunk/openobject-server/openerp/osv/orm.py", line 3629, in create
    cr.execute('insert into "'+self._table+'" (id'+upd0+") values ("+str(id_new)+upd1+')', tuple(upd2))
  File "/home/tiny/trunk/openobject-server/openerp/sql_db.py", line 78, in wrapper
    return f(self, *args, **kwargs)
  File "/home/tiny/trunk/openobject-server/openerp/sql_db.py", line 131, in execute
    res = self._obj.execute(query, params)
DataError: invalid input syntax for integer: ""
LINE 1: ...draft',E'2011-03-05 11:13:28',NULL,E'remove',NULL,E'',1,now(...

-- 
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/728858

Title:
  Unable to create a new leave or allocation request in web-client

Status in OpenERP Web Client:
  Confirmed

Bug description:
  I encounter an error when I try to create a new leave request or
  allocation request using the hr_holidays module. Navigate to Human
  Resources > Holidays > Leave Requests. When I try to save a new record
  here, I get an error only in the web-client. It works fine in GTK-
  client. I have been facing this error since I updated my trunk addons
  to revision no. 4476.



References