[FIX]point_of_sale:fixed the issue of point of sale order receipt fields translation problem

lp bug: https://launchpad.net/bugs/1073199 fixed

bzr revid: ssu@tinyerp.com-20121101062613-dplo6xr4e3q6c42y
This commit is contained in:
Ignas Karpiejus 2012-11-01 11:56:13 +05:30 committed by Saurang Suthar
parent b006809773
commit 321754dfe0
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class order(report_sxw.rml_parse):
def __init__(self, cr, uid, name, context):
super(order, self).__init__(cr, uid, name, context=context)
user = pooler.get_pool(cr.dbname).get('res.users').browse(cr, uid, uid)
user = pooler.get_pool(cr.dbname).get('res.users').browse(cr, uid, uid, context=context)
partner = user.company_id.partner_id
self.localcontext.update({