← Back to team overview

openerp-india team mailing list archive

[Bug 1038173] [NEW] need to fix on_change_partner on crm_lead.py

 

Public bug reported:

2012-08-17 16:59:50,912 2228 ERROR None openerp.osv.osv: Uncaught exception
Traceback (most recent call last):
  File "/home/mga/openerp/server/trunk/openerp/osv/osv.py", line 121, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/mga/openerp/server/trunk/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/mga/openerp/server/trunk/openerp/osv/osv.py", line 164, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/mga/openerp/addons/trunk/crm/crm_lead.py", line 304, in on_change_partner
    return {'value' : values}
UnboundLocalError: local variable 'values' referenced before assignment
2012-08-17 16:59:51,013 2228 ERROR None openerp.netsvc: local variable 'values' referenced before assignment

** Affects: openobject-addons
     Importance: Undecided
     Assignee: OpenERP R&D Team (openerp-dev)
         Status: Confirmed

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Team (openerp-dev)

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

Title:
  need to fix on_change_partner on crm_lead.py

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  2012-08-17 16:59:50,912 2228 ERROR None openerp.osv.osv: Uncaught exception
  Traceback (most recent call last):
    File "/home/mga/openerp/server/trunk/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/mga/openerp/server/trunk/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/mga/openerp/server/trunk/openerp/osv/osv.py", line 164, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/mga/openerp/addons/trunk/crm/crm_lead.py", line 304, in on_change_partner
      return {'value' : values}
  UnboundLocalError: local variable 'values' referenced before assignment
  2012-08-17 16:59:51,013 2228 ERROR None openerp.netsvc: local variable 'values' referenced before assignment

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


Follow ups

References