← Back to team overview

openerp-india team mailing list archive

[Bug 1017365] [NEW] can't open Sales Order Lines from product form view

 

Public bug reported:

on runbot (Build 11883) [addons(6927) ,web(2604) and server(4207)]

Step ----<>|:

open a Any product form view and in more click  Sales Order Lines

so it's give a traceback like

Server Traceback (most recent call last):
  File "/home/mma/home/workplace/web/trunk/addons/web/common/http.py", line 592, in send
    result = openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/home/mma/home/workplace/rdtools/server/trunk/openerp/netsvc.py", line 362, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/mma/home/workplace/rdtools/server/trunk/openerp/service/web_services.py", line 586, in dispatch
    res = fn(db, uid, *params)
  File "/home/mma/home/workplace/rdtools/server/trunk/openerp/osv/osv.py", line 167, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/home/mma/home/workplace/rdtools/server/trunk/openerp/osv/osv.py", line 121, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/mma/home/workplace/rdtools/server/trunk/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/mma/home/workplace/rdtools/server/trunk/openerp/osv/osv.py", line 164, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/mma/home/workplace/rdtools/addons/trunk/product/product.py", line 574, in name_get
    if not len(ids):
TypeError: object of type 'int' has no len()


Thanks 
Mayur

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

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

Title:
  can't open Sales Order Lines  from product form view

Status in OpenERP Addons (modules):
  New

Bug description:
  on runbot (Build 11883) [addons(6927) ,web(2604) and server(4207)]

  Step ----<>|:

  open a Any product form view and in more click  Sales Order Lines

  so it's give a traceback like

  Server Traceback (most recent call last):
    File "/home/mma/home/workplace/web/trunk/addons/web/common/http.py", line 592, in send
      result = openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/home/mma/home/workplace/rdtools/server/trunk/openerp/netsvc.py", line 362, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/mma/home/workplace/rdtools/server/trunk/openerp/service/web_services.py", line 586, in dispatch
      res = fn(db, uid, *params)
    File "/home/mma/home/workplace/rdtools/server/trunk/openerp/osv/osv.py", line 167, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/home/mma/home/workplace/rdtools/server/trunk/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/mma/home/workplace/rdtools/server/trunk/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/mma/home/workplace/rdtools/server/trunk/openerp/osv/osv.py", line 164, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/mma/home/workplace/rdtools/addons/trunk/product/product.py", line 574, 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/1017365/+subscriptions


Follow ups

References