You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

23 lines
968 B

<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record model="ir.ui.view" id="email_compose_message_wizard_inherit_form_lang">
<field name="name">mail.compose.message.form.lang</field>
<field name="model">mail.compose.message</field>
<field name="inherit_id" ref="email_template.email_compose_message_wizard_inherit_form" />
<field name="arch" type="xml">
<xpath expr="//field[@name='template_id']/.." position="before">
<div>Force language
<field name="lang"
class="oe_inline"
options="{'no_create': True}"
on_change="onchange_lang(lang, template_id, composition_mode, model, res_id, context)"
/>
</div>
</xpath>
</field>
</record>
</data>
</openerp>