[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:
parent
b006809773
commit
321754dfe0
|
@ -34,7 +34,7 @@ class order(report_sxw.rml_parse):
|
||||||
def __init__(self, cr, uid, name, context):
|
def __init__(self, cr, uid, name, context):
|
||||||
super(order, self).__init__(cr, uid, name, context=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
|
partner = user.company_id.partner_id
|
||||||
|
|
||||||
self.localcontext.update({
|
self.localcontext.update({
|
||||||
|
|
Loading…
Reference in New Issue