← Back to team overview

openerp-india team mailing list archive

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

 

Hello Mantavya,

Thanks for reporting!

This issue has been committed lp:~openerp-dev/openobject-addons/trunk-bug-1038173-amp on branch with following rev no and rev id.
Rev no : 7273
Rev ID : amp@xxxxxxxxxxx-20120820062641-jxnrfk8ecz0avev7

It will merge with trunk soon.

Thank you!

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

-- 
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):
  Fix Committed

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


References