[FIX] website_quote: use a copy of the context.
This commit is contained in:
@@ -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,)]
|
||||
|
||||
Reference in New Issue
Block a user