← Back to team overview

openerp-india team mailing list archive

[Bug 1019962] [NEW] create new db gets view error

 

Public bug reported:

hello,

         server revno : 4219.
        addons revno : 6967
        web revno : 2660.

         create new db,  its give this traceback


2012-07-02 07:08:13,867 7670 ERROR None openerp.osv.osv: Uncaught exception
Traceback (most recent call last):
  File "/home/nco/workspace/rdtools/server/trunk/openerp/osv/osv.py", line 121, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/nco/workspace/rdtools/server/trunk/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/nco/workspace/rdtools/server/trunk/openerp/osv/osv.py", line 164, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/nco/workspace/rdtools/server/trunk/openerp/osv/orm.py", line 2172, in fields_view_get
    xarch, xfields = self.__view_look_dom_arch(cr, user, result['arch'], view_id, context=ctx)
  File "/home/nco/workspace/rdtools/server/trunk/openerp/osv/orm.py", line 1819, in __view_look_dom_arch
    fields_def = self.__view_look_dom(cr, user, node, view_id, False, fields, context=context)
  File "/home/nco/workspace/rdtools/server/trunk/openerp/osv/orm.py", line 1768, in __view_look_dom
    fields.update(self.__view_look_dom(cr, user, f, view_id, in_tree_view, model_fields, context))
  File "/home/nco/workspace/rdtools/server/trunk/openerp/osv/orm.py", line 1768, in __view_look_dom
    fields.update(self.__view_look_dom(cr, user, f, view_id, in_tree_view, model_fields, context))
  File "/home/nco/workspace/rdtools/server/trunk/openerp/osv/orm.py", line 1762, in __view_look_dom
    cr, user, self._name, view, context['lang'], attr)
NameError: global name 'view' is not defined
2012-07-02 07:08:13,871 7670 ERROR None openerp.netsvc: global name 'view' is not defined


Thanks,
 NCO.

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

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1019962

Title:
  create new db gets view error

Status in OpenERP Server:
  New

Bug description:
  hello,

           server revno : 4219.
          addons revno : 6967
          web revno : 2660.

           create new db,  its give this traceback

  
  2012-07-02 07:08:13,867 7670 ERROR None openerp.osv.osv: Uncaught exception
  Traceback (most recent call last):
    File "/home/nco/workspace/rdtools/server/trunk/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/nco/workspace/rdtools/server/trunk/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/nco/workspace/rdtools/server/trunk/openerp/osv/osv.py", line 164, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/nco/workspace/rdtools/server/trunk/openerp/osv/orm.py", line 2172, in fields_view_get
      xarch, xfields = self.__view_look_dom_arch(cr, user, result['arch'], view_id, context=ctx)
    File "/home/nco/workspace/rdtools/server/trunk/openerp/osv/orm.py", line 1819, in __view_look_dom_arch
      fields_def = self.__view_look_dom(cr, user, node, view_id, False, fields, context=context)
    File "/home/nco/workspace/rdtools/server/trunk/openerp/osv/orm.py", line 1768, in __view_look_dom
      fields.update(self.__view_look_dom(cr, user, f, view_id, in_tree_view, model_fields, context))
    File "/home/nco/workspace/rdtools/server/trunk/openerp/osv/orm.py", line 1768, in __view_look_dom
      fields.update(self.__view_look_dom(cr, user, f, view_id, in_tree_view, model_fields, context))
    File "/home/nco/workspace/rdtools/server/trunk/openerp/osv/orm.py", line 1762, in __view_look_dom
      cr, user, self._name, view, context['lang'], attr)
  NameError: global name 'view' is not defined
  2012-07-02 07:08:13,871 7670 ERROR None openerp.netsvc: global name 'view' is not defined


  Thanks,
   NCO.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1019962/+subscriptions


Follow ups

References