<h1>Impacted versions:</h1>

9.0

<h1>Environment:</h1>

All Major Browsers (latest versions of Chrome, Safari, Firefox)
Runbot - latest 9.0 commit

<h1>Steps to reproduce:</h1>

<ol>
<li>Login to backend</li>
<li>View Sale Order List View (fonts and some formatting have been lost)</li>
<li>View inside a Sale Order - massive formatting problems, sale order document/page view is corrupted</li>
</ol>


<h1>Current behavior:</h1>

<ol>
<li>Huge formatting problems in the backend when related to fonts, icons, etc..</li>
<li>View inside a Sale Order - massive formatting problems, sale order document/page view is corrupted</li>
</ol>


<h1>Expected behavior:</h1>

Backend /web views are as they have always been, without formatting problems.

<h1>Video/Screenshot link (optional):</h1>

<img src="https://cloud.githubusercontent.com/assets/2337666/15846044/ceff033c-2cab-11e6-8455-af2ca5ac765c.gif"/>

openerp/tools/translate.py
if not lang:
                    
                    row['translation'] = ''
                elif not row.get('translation'):
                    row['translation'] = src
                writer.write(row['modules'], row['tnrs'], src, row['translation'], row['comments'])
        elif format == 'tgz':
            rows_by_module = {}
            for row in rows:
                module = row[0]
                rows_by_module.setdefault(module, []).append(row)
            tmpdir = tempfile.mkdtemp()
            for mod, modrows in rows_by_module.items():
                tmpmoddir = join(tmpdir, mod, 'i18n')
                os.makedirs(tmpmoddir)
                pofilename = (lang if lang else mod) + ".po" + ('t' if not lang else '')
                buf = file(join(tmpmoddir, pofilename), 'w')
                _process('po', [mod], modrows, buf, lang)
                buf.close()
            tar = tarfile.open(fileobj=buffer, mode='w|gz')
            tar.add(tmpdir, '')
            tar.close()
        else:
            raise Exception(_('Unrecognized extension: must be one of '
                '.csv, .po, or .tgz (received .%s).') % format)
    translations = trans_generate(lang, modules, cr)
    modules = set(t[0] for t in translations)
    _process(format, modules, translations, buffer, lang)
    del translations
def trans_parse_rml(de):