base_status : global name 'osv' is not defined.

Bug #1018704 reported by DJ Patel (OpenERP)
This bug report is a duplicate of:  Bug #1011408: can't Escalate Opportunities. Edit Remove
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
In Progress
Low
OpenERP R&D Addons Team 1

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

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 1 (openerp-dev-addons1)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
DJ Patel (OpenERP) (mdi-openerp) wrote :

Hello,

The solution for this bug is proposed in the branch :https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1018704-mdi/

with following Revision ID and Number.

Revision ID : <email address hidden>
Revision Number : 6944

Thanks,
Divyesh

Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
DJ Patel (OpenERP) (mdi-openerp) wrote :

Hello,

It's duplicate of bug #1011408 and It's already fixed.

Thanks,
Divyesh

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.