← Back to team overview

credativ team mailing list archive

[Bug 920418] [NEW] [6.1 RC1] unable to create an employee

 

Public bug reported:

I,stalled R6.1 RC1, using the PostGreSQL from my R6.0.3 installation.

I created a new database from the 6.2 web client interface
I installed the HR module (Recruitement process)

When I create a new employee => create button in the list, the form view of a new employee displays fine.
There is 1 manadatory field (name)
I fill this in.

When I press the save button, I get following staktrace:

Client Traceback (most recent call last):
  File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\openerp\addons\web\common\http.py", line 176, in dispatch
  File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\openerp\addons\web\controllers\main.py", line 810, in create
  File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\openerp\addons\web\common\openerplib\main.py", line 250, in proxy
  File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\openerp\addons\web\common\openerplib\main.py", line 117, in proxy
  File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\openerp\addons\web\common\http.py", line 579, in send


Server Traceback (most recent call last):
  File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\openerp\addons\web\common\http.py", line 560, in send
  File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\.\openerp\netsvc.py", line 325, in dispatch_rpc
  File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\.\openerp\service\web_services.py", line 580, in dispatch
  File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\.\openerp\osv\osv.py", line 166, in execute_kw
  File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\.\openerp\osv\osv.py", line 120, in wrapper
  File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\.\openerp\osv\osv.py", line 175, in execute
  File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\.\openerp\osv\osv.py", line 163, in execute_cr
  File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\.\openerp\osv\orm.py", line 4145, in create
  File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\.\openerp\sql_db.py", line 153, in wrapper
  File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\.\openerp\sql_db.py", line 215, in execute
TypeError: can't escape non-string object

** Affects: openobject-addons
     Importance: Undecided
         Status: New


** Tags: 6.1 rc1

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/920418

Title:
  [6.1 RC1] unable to create an employee

Status in OpenERP Addons (modules):
  New

Bug description:
  I,stalled R6.1 RC1, using the PostGreSQL from my R6.0.3 installation.

  I created a new database from the 6.2 web client interface
  I installed the HR module (Recruitement process)

  When I create a new employee => create button in the list, the form view of a new employee displays fine.
  There is 1 manadatory field (name)
  I fill this in.

  When I press the save button, I get following staktrace:

  Client Traceback (most recent call last):
    File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\openerp\addons\web\common\http.py", line 176, in dispatch
    File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\openerp\addons\web\controllers\main.py", line 810, in create
    File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\openerp\addons\web\common\openerplib\main.py", line 250, in proxy
    File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\openerp\addons\web\common\openerplib\main.py", line 117, in proxy
    File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\openerp\addons\web\common\http.py", line 579, in send

  
  Server Traceback (most recent call last):
    File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\openerp\addons\web\common\http.py", line 560, in send
    File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\.\openerp\netsvc.py", line 325, in dispatch_rpc
    File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\.\openerp\service\web_services.py", line 580, in dispatch
    File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\.\openerp\osv\osv.py", line 166, in execute_kw
    File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\.\openerp\osv\osv.py", line 120, in wrapper
    File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\.\openerp\osv\osv.py", line 175, in execute
    File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\.\openerp\osv\osv.py", line 163, in execute_cr
    File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\.\openerp\osv\orm.py", line 4145, in create
    File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\.\openerp\sql_db.py", line 153, in wrapper
    File "C:\Program Files\OpenERP 6.1rc1-20120112-173907\server\.\openerp\sql_db.py", line 215, in execute
  TypeError: can't escape non-string object

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/920418/+subscriptions


Follow ups

References