[FIX] website_quote: use a copy of the context.

This commit is contained in:
Christophe Simonis
2015-02-26 17:59:14 +01:00
parent f6ddf1a617
commit f6d32a9fe9
+1 -2
View File
@@ -173,9 +173,8 @@ class sale_order(osv.osv):
if not template_id:
return True
if context is None:
context = {}
if partner:
context = dict(context or {})
context['lang'] = self.pool['res.partner'].browse(cr, uid, partner, context).lang
lines = [(5,)]