← Back to team overview

credativ team mailing list archive

[Bug 907316] [NEW] Partners : create opportunity wizard is not working

 

Public bug reported:

Sales > Address Book > Customers > Create Opportunity (wizard)

when i tried to create opportunity from this wizard i got following
Traceback


Traceback (most recent call last):
  File "/home/han/rdtool/server/trunk/openerp/osv/osv.py", line 120, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/han/rdtool/server/trunk/openerp/osv/osv.py", line 172, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/han/rdtool/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/han/rdtool/addons/trunk/crm/wizard/crm_partner_to_opportunity.py", line 67, in make_opportunity
    data.probability,
  File "/home/han/rdtool/addons/trunk/crm/res_partner.py", line 70, in make_opportunity
    'type': 'opportunity'
  File "/home/han/rdtool/addons/trunk/base_action_rule/base_action_rule.py", line 175, in wrapper
    if not context.get('action'):
AttributeError: 'NoneType' object has no attribute 'get'

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/907316

Title:
  Partners : create opportunity wizard is not working

Status in OpenERP Addons (modules):
  New

Bug description:
  Sales > Address Book > Customers > Create Opportunity (wizard)

  when i tried to create opportunity from this wizard i got following
  Traceback

  
  Traceback (most recent call last):
    File "/home/han/rdtool/server/trunk/openerp/osv/osv.py", line 120, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/han/rdtool/server/trunk/openerp/osv/osv.py", line 172, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/han/rdtool/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/han/rdtool/addons/trunk/crm/wizard/crm_partner_to_opportunity.py", line 67, in make_opportunity
      data.probability,
    File "/home/han/rdtool/addons/trunk/crm/res_partner.py", line 70, in make_opportunity
      'type': 'opportunity'
    File "/home/han/rdtool/addons/trunk/base_action_rule/base_action_rule.py", line 175, in wrapper
      if not context.get('action'):
  AttributeError: 'NoneType' object has no attribute 'get'

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


Follow ups

References