can't open timesheet by account from timesheet form view

Bug #1038023 reported by Mayur Maheshwari(OpenERP)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP R&D Addons Team 3

Bug Description

on latest trunk [16752_runbot]

Step ----<>|:

In timesheet menu open timesheet form view and in more click timesheet by account

so it's give a traceback like

Server Traceback (most recent call last):
  File "/home/odoo/runbot/static/openerp-dev-trunk-bug-1037954-mma-16761/server/openerp/addons/web/common/session.py", line 51, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/home/odoo/runbot/static/openerp-dev-trunk-bug-1037954-mma-16761/server/openerp/netsvc.py", line 362, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/odoo/runbot/static/openerp-dev-trunk-bug-1037954-mma-16761/server/openerp/service/web_services.py", line 586, in dispatch
    res = fn(db, uid, *params)
  File "/home/odoo/runbot/static/openerp-dev-trunk-bug-1037954-mma-16761/server/openerp/osv/osv.py", line 167, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/home/odoo/runbot/static/openerp-dev-trunk-bug-1037954-mma-16761/server/openerp/osv/osv.py", line 121, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/odoo/runbot/static/openerp-dev-trunk-bug-1037954-mma-16761/server/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/odoo/runbot/static/openerp-dev-trunk-bug-1037954-mma-16761/server/openerp/addons/audittrail/audittrail.py", line 494, in execute_cr
    return fct_src(cr, uid, model, method, *args, **kw)
  File "/home/odoo/runbot/static/openerp-dev-trunk-bug-1037954-mma-16761/server/openerp/osv/osv.py", line 164, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/odoo/runbot/static/openerp-dev-trunk-bug-1037954-mma-16761/server/openerp/addons/hr_timesheet_sheet/hr_timesheet_sheet.py", line 445, in name_get
    if not len(ids):
TypeError: object of type 'int' has no len()

Thanks,
Mayur

Related branches

Changed in openobject-addons:
importance: Undecided → Medium
status: New → Confirmed
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Mayur Maheshwari(OpenERP) (mma-openerp) wrote :

Hello,

It has been fixed in lp:~openerp-dev/openobject-addons/trunk-bug-1038023-mma
Revision ID: <email address hidden>
Revision num: 7266

It will be available in trunk soon.

Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Amit Parik (amit-parik) wrote :

Landed on 7364 rev no.

Again thanks for the fix *Mayur*..Keep contributing and fixes the bug like this.. :-).

Thank you very much!

Changed in openobject-addons:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.