[MERGE] Sync with trunk to have last fixes, avoiding red runbot on trunk.
bzr revid: tde@openerp.com-20121112144109-1k1mlongukdgpdpa
This commit is contained in:
@@ -51,10 +51,10 @@ class document_davdir(osv.osv):
|
||||
# that might be not worth preparing.
|
||||
nctx.extra_ctx['webdav_path'] = '/'+config.get_misc('webdav','vdir','webdav')
|
||||
usr_obj = self.pool.get('res.users')
|
||||
res = usr_obj.read(cr, uid, uid, ['login','context_lang'])
|
||||
res = usr_obj.read(cr, uid, uid, ['login','lang'])
|
||||
if res:
|
||||
nctx.extra_ctx['username'] = res['login']
|
||||
nctx.extra_ctx['lang'] = res['context_lang']
|
||||
nctx.extra_ctx['lang'] = res['lang']
|
||||
# TODO group
|
||||
return
|
||||
|
||||
|
||||
+1
-1
@@ -938,7 +938,7 @@ class sale_order_line(osv.osv):
|
||||
result['tax_id'] = self.pool.get('account.fiscal.position').map_tax(cr, uid, fpos, product_obj.taxes_id)
|
||||
|
||||
if not flag:
|
||||
result['name'] = product_obj.name_get(cr, uid, [product_obj.id], context=context_partner)[0][1]
|
||||
result['name'] = self.pool.get('product.product').name_get(cr, uid, [product_obj.id], context=context_partner)[0][1]
|
||||
if product_obj.description_sale:
|
||||
result['name'] += '\n'+product_obj.description_sale
|
||||
domain = {}
|
||||
|
||||
Reference in New Issue
Block a user