openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #14532
[Bug 1038023] Re: can't open timesheet by account from timesheet form view
Hello,
It has been fixed in lp:~openerp-dev/openobject-addons/trunk-bug-1038023-mma
Revision ID: mma@xxxxxxxxxxx-20120817104702-qpzqc8w1s9pccr83
Revision num: 7266
It will be available in trunk soon.
** Changed in: openobject-addons
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1038023
Title:
can't open timesheet by account from timesheet form view
Status in OpenERP Addons (modules):
Fix Committed
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1038023/+subscriptions
References