← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 859440] [NEW] onchange partner -> contact in opportunity form

 

Public bug reported:

to test :

- create a lead and fill in all field of the form (contact)
- convert it into opportunity without linking into a partner
- in the opportunity form, the customer field is not completed but you can create a partner from the button do that 
- the partner is created but the address is not -> it should be automatically completed

if you fill this field manually, there is this bug

Client Traceback (most recent call last):
  File "/home/aline/openerp/web/openerp-web/addons/web/common/dispatch.py", line 167, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/home/aline/openerp/web/openerp-web/addons/web/controllers/main.py", line 729, in call
    return self.call_common(req, model, method, args, domain_id, context_id)
  File "/home/aline/openerp/web/openerp-web/addons/web/controllers/main.py", line 713, in call_common
    c, d = eval_context_and_domain(req.session, context, domain)
  File "/home/aline/openerp/web/openerp-web/addons/web/controllers/main.py", line 450, in eval_context_and_domain
    e_domain = session.eval_domain(domain or [])
  File "/home/aline/openerp/web/openerp-web/addons/web/common/session.py", line 190, in eval_domain
    return cdomain.evaluate(context or {})
  File "/home/aline/openerp/web/openerp-web/addons/web/common/nonliterals.py", line 210, in evaluate
    final_domain.extend(domain.evaluate(ctx))
  File "/home/aline/openerp/web/openerp-web/addons/web/common/nonliterals.py", line 128, in evaluate
    return eval(self.get_domain_string(), SuperDict(ctx))
  File "<string>", line 1, in <module>
NameError: name 'partner_id' is not defined

** Affects: openerp-web
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/859440

Title:
  onchange partner -> contact in opportunity form

Status in OpenERP Web:
  New

Bug description:
  to test :

  - create a lead and fill in all field of the form (contact)
  - convert it into opportunity without linking into a partner
  - in the opportunity form, the customer field is not completed but you can create a partner from the button do that 
  - the partner is created but the address is not -> it should be automatically completed

  if you fill this field manually, there is this bug

  Client Traceback (most recent call last):
    File "/home/aline/openerp/web/openerp-web/addons/web/common/dispatch.py", line 167, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/home/aline/openerp/web/openerp-web/addons/web/controllers/main.py", line 729, in call
      return self.call_common(req, model, method, args, domain_id, context_id)
    File "/home/aline/openerp/web/openerp-web/addons/web/controllers/main.py", line 713, in call_common
      c, d = eval_context_and_domain(req.session, context, domain)
    File "/home/aline/openerp/web/openerp-web/addons/web/controllers/main.py", line 450, in eval_context_and_domain
      e_domain = session.eval_domain(domain or [])
    File "/home/aline/openerp/web/openerp-web/addons/web/common/session.py", line 190, in eval_domain
      return cdomain.evaluate(context or {})
    File "/home/aline/openerp/web/openerp-web/addons/web/common/nonliterals.py", line 210, in evaluate
      final_domain.extend(domain.evaluate(ctx))
    File "/home/aline/openerp/web/openerp-web/addons/web/common/nonliterals.py", line 128, in evaluate
      return eval(self.get_domain_string(), SuperDict(ctx))
    File "<string>", line 1, in <module>
  NameError: name 'partner_id' is not defined

To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/859440/+subscriptions


Follow ups

References