Fix landed in saas-2 at revision 9039 (revid
[email protected])
** Changed in: openobject-addons
Status: Confirmed => Fix Released
--
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/1239937
Title:
[Trunk]: Compose a mail for Mass Mailing Campaigns not working
Status in OpenERP Addons (modules):
Fix Released
Bug description:
Hello,
tested with latest trunk:
Go to marketing campaign > List view there is one record > open form view.
Try to create new mailing for that record enter all req. details with
selection of customer give following trace:
Traceback (most recent call last):
File
"/home/odoo/runbot/static/openerp-dev-trunk-22534/server/openerp/addons/web/http.py",
line 319, in dispatch
response["result"] = self._call_function(**self.params)
File
"/home/odoo/runbot/static/openerp-dev-trunk-22534/server/openerp/addons/web/http.py",
line 174, in _call_function
return self.func(*args, **kwargs)
File
"/home/odoo/runbot/static/openerp-dev-trunk-22534/server/openerp/addons/web/http.py",
line 1047, in nfunc
return func(*args, **kwargs)
File
"/home/odoo/runbot/static/openerp-dev-trunk-22534/server/openerp/addons/web/controllers/main.py",
line 1097, in call_button
action = self._call_kw(model, method, args, {})
File
"/home/odoo/runbot/static/openerp-dev-trunk-22534/server/openerp/addons/web/controllers/main.py",
line 1085, in _call_kw
return getattr(request.registry.get(model), method)(request.cr,
request.uid, *args, **kwargs)
File
"/home/odoo/runbot/static/openerp-dev-trunk-22534/server/openerp/addons/purchase/purchase.py",
line 1229, in send_mail
return super(mail_compose_message, self).send_mail(cr, uid, ids,
context=context)
File
"/home/odoo/runbot/static/openerp-dev-trunk-22534/server/openerp/addons/sale/sale.py",
line 983, in send_mail
return super(mail_compose_message, self).send_mail(cr, uid, ids,
context=context)
File
"/home/odoo/runbot/static/openerp-dev-trunk-22534/server/openerp/addons/account/account_invoice.py",
line 1828, in send_mail
return super(mail_compose_message, self).send_mail(cr, uid, ids,
context=context)
File
"/home/odoo/runbot/static/openerp-dev-trunk-22534/server/openerp/addons/email_template/wizard/mail_compose_message.py",
line 75, in send_mail
return super(mail_compose_message, self).send_mail(cr, uid, ids,
context=wizard_context)
File
"/home/odoo/runbot/static/openerp-dev-trunk-22534/server/openerp/addons/mail/wizard/mail_compose_message.py",
line 253, in send_mail
res_ids = self.pool[wizard.model].search(cr, uid,
eval(wizard.active_domain), context=context)
File
"/home/odoo/runbot/static/openerp-dev-trunk-22534/server/openerp/osv/orm.py",
line 2363, in search
return self._search(cr, user, args, offset=offset, limit=limit,
order=order, context=context, count=count)
File
"/home/odoo/runbot/static/openerp-dev-trunk-22534/server/openerp/osv/orm.py",
line 4918, in _search
query = self._where_calc(cr, user, args, context=context)
File
"/home/odoo/runbot/static/openerp-dev-trunk-22534/server/openerp/osv/orm.py",
line 4747, in _where_calc
e = expression.expression(cr, user, domain, self, context)
File
"/home/odoo/runbot/static/openerp-dev-trunk-22534/server/openerp/osv/expression.py",
line 641, in __init__
self.parse(cr, uid, context=context)
File
"/home/odoo/runbot/static/openerp-dev-trunk-22534/server/openerp/osv/expression.py",
line 805, in parse
raise ValueError("Invalid field %r in leaf %r" % (left, str(leaf)))
ValueError: Invalid field 'customer' in leaf "<osv.ExtendedLeaf: ('customer',
'=', 1) on mail_mass_mailing_campaign (ctx: )>"
Thanks & Regards,
Devishree(DBR)
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1239937/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~openerp-india
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-india
More help : https://help.launchpad.net/ListHelp