← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 723738] [NEW] can not schedule/log a call from an opportunity

 

Public bug reported:

not able to schedule /log a call from an opportunity form view

to test : go to opportunity (sales / sales management / opportunity) ->
schdules /log a call -> click "Schedule a call" after have filled in the
mandatory fields

Traceback (most recent call last):
  File "/home/aline/openerp/trunk/server/openerp/netsvc.py", line 410, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/aline/openerp/trunk/server/openerp/service/web_services.py", line 598, in dispatch
    res = fn(db, uid, *params)
  File "/home/aline/openerp/trunk/server/openerp/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/aline/openerp/trunk/server/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/aline/openerp/trunk/server/openerp/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/aline/openerp/trunk/server/openerp/osv/orm.py", line 2937, in read
    result = self._read_flat(cr, user, select, fields, context, load)
  File "/home/aline/openerp/trunk/server/openerp/osv/orm.py", line 3057, in _read_flat
    res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
  File "/home/aline/openerp/trunk/server/openerp/osv/fields.py", line 795, in get
    res = self._fnct(obj, cr, user, ids, name, self._arg, context)
  File "/home/aline/openerp/trunk/server/openerp/addons/base/ir/ir_ui_menu.py", line 132, in _get_full_name
    res[m.id] = self._get_one_full_name(m)
  File "/home/aline/openerp/trunk/server/openerp/addons/base/ir/ir_ui_menu.py", line 138, in _get_one_full_name
    if menu.parent_id:
  File "/home/aline/openerp/trunk/server/openerp/osv/orm.py", line 294, in __getattr__
    raise AttributeError(e)
AttributeError: 'Field parent_id not found in browse_record(ir.ui.menu, 2)'

** Affects: openobject-client-web
     Importance: Medium
     Assignee: OpenERP SA's Web Client R&D (openerp-dev-web)
         Status: Confirmed

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

Title:
  can not schedule/log a call from an opportunity

Status in OpenERP Web Client:
  Confirmed

Bug description:
  not able to schedule /log a call from an opportunity form view

  to test : go to opportunity (sales / sales management / opportunity)
  -> schdules /log a call -> click "Schedule a call" after have filled
  in the mandatory fields

  Traceback (most recent call last):
    File "/home/aline/openerp/trunk/server/openerp/netsvc.py", line 410, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/home/aline/openerp/trunk/server/openerp/service/web_services.py", line 598, in dispatch
      res = fn(db, uid, *params)
    File "/home/aline/openerp/trunk/server/openerp/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/aline/openerp/trunk/server/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/aline/openerp/trunk/server/openerp/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/aline/openerp/trunk/server/openerp/osv/orm.py", line 2937, in read
      result = self._read_flat(cr, user, select, fields, context, load)
    File "/home/aline/openerp/trunk/server/openerp/osv/orm.py", line 3057, in _read_flat
      res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
    File "/home/aline/openerp/trunk/server/openerp/osv/fields.py", line 795, in get
      res = self._fnct(obj, cr, user, ids, name, self._arg, context)
    File "/home/aline/openerp/trunk/server/openerp/addons/base/ir/ir_ui_menu.py", line 132, in _get_full_name
      res[m.id] = self._get_one_full_name(m)
    File "/home/aline/openerp/trunk/server/openerp/addons/base/ir/ir_ui_menu.py", line 138, in _get_one_full_name
      if menu.parent_id:
    File "/home/aline/openerp/trunk/server/openerp/osv/orm.py", line 294, in __getattr__
      raise AttributeError(e)
  AttributeError: 'Field parent_id not found in browse_record(ir.ui.menu, 2)'



Follow ups

References