[FIX] ensure all g_inner content is correctly encoded
authorXavier Morel <xmo@openerp.com>
Mon, 14 Jul 2014 11:42:35 +0000 (13:42 +0200)
committerXavier Morel <xmo@openerp.com>
Mon, 14 Jul 2014 11:44:37 +0000 (13:44 +0200)
commit7a2961da760ea2a713dbd05741e7b46c3f133dbb
treee143830cd9c389d4a06be30a8b106b8795c2abdf
parent7c540bc4ee251f4e9c7a4785203287a1da98bac2
[FIX] ensure all g_inner content is correctly encoded

fixes #1130

* provided `inner` data may or may not have been encoded
* `element.text` is either ascii-compatible `str` or `unicode` when
  non-ascii-compatible, which could force the decoding of utf8-encoded content
  during g_inner's join
openerp/addons/base/ir/ir_qweb.py