← Back to team overview

openerp-india team mailing list archive

[Bug 1018704] Re: base_status : global name 'osv' is not defined.

 

*** This bug is a duplicate of bug 1011408 ***
    https://bugs.launchpad.net/bugs/1011408

** Changed in: openobject-addons
       Status: Confirmed => In Progress

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

Title:
  base_status : global name 'osv' is not defined.

Status in OpenERP Addons (modules):
  In Progress

Bug description:
  Create a new database and install crm.
  Create a lead and click on "Escalate" button.

  It gives the following traceback:

  Traceback (most recent call last):
    File "/home/mdi/openerp/rdtools/server/trunk/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/mdi/openerp/rdtools/server/trunk/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/mdi/openerp/rdtools/server/trunk/openerp/osv/osv.py", line 164, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/mdi/openerp/rdtools/addons/trunk/base_status/base_stage.py", line 205, in case_escalate
      raise osv.except_osv(_('Error !'), _('You can not escalate, you are already at the top level regarding your sales-team category.'))
  NameError: global name 'osv' is not defined

  
  Thanks,
  Divyesh

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


References