← Back to team overview

openerp-india team mailing list archive

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

 

Public bug reported:

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

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

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

Status in OpenERP Addons (modules):
  New

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


Follow ups

References