← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 684472] Re: Converting an issue to a task or create a ne task [V6.0 3977-GTK Client]

 

** Changed in: openobject-addons
   Importance: Undecided => Medium

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 1 (openerp-dev-addons1)

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

Title:
  Converting an issue to a task  or create a ne task [V6.0 3977-GTK Client]

Status in OpenObject Addons Modules:
  Confirmed

Bug description:
  Hi 

when converting an issue in a task or create a new task. just put '5' in planned hours an save.

the client raises this error

It does not convert it in relevant format '05:00' before saving. (if you press save again after error it works)

perhaps its a GTK-Client bug issue.

Environment Information : 
System : Linux-2.6.31-14-generic-i686-with-Ubuntu-9.10-karmic
OS Name : posix
Distributor ID:	Ubuntu
Description:	Ubuntu 9.10
Release:	9.10
Codename:	karmic
Operating System Release : 2.6.31-14-generic
Operating System Version : #48-Ubuntu SMP Fri Oct 16 14:04:26 UTC 2009
Operating System Architecture : 32bit
Operating System Locale : fr_BE.UTF8
Python Version : 2.6.4
OpenERP-Client Version : 6.0.0-rc1-1
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 596, in dispatch
    res = fn(db, uid, *params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 119, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 203, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 193, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/project/project.py", line 348, in onchange_planned
    return {'value':{'remaining_hours': planned - effective}}
TypeError: unsupported operand type(s) for -: 'float' and 'dict'