[FIX]: crm_partner_assign: Cannot find field body in the following view parts composi...
[odoo/odoo.git] / addons / crm_partner_assign / wizard / crm_forward_to_partner_view.xml
index 002ebf4..aa2c45e 100644 (file)
@@ -25,7 +25,6 @@
                     </group>
                     <separator string="" colspan="4" />
                     <group col="6" colspan="4">
-                        <field name="smtp_server_id" widget="selection" colspan="4"/>
                         <field name="email_from" colspan="4" required="1"/>
                         <field name="email_to" colspan="4" required="1"/>
                         <field name="email_cc" colspan="4"/>
@@ -36,7 +35,7 @@
                     <separator string="" colspan="4"/>
                     <notebook colspan="4">
                         <page string="Body">
-                            <field name="body" colspan="4" nolabel="1"/>
+                            <field name="body_text" colspan="4" nolabel="1"/>
                         </page>
                         <page string="Attachments">
                             <label string="Add here all attachments of the current document you want to include in the Email." colspan="4"/>
                     <group col="4" colspan="4">
                         <label string="" colspan="1"/>
                         <button icon="gtk-close" special="cancel" string="Close"/>
-                        <button icon="gtk-ok" name="send_mail" string="Send now" type="object"/>
+                        <button icon="gtk-ok" name="send_mail" string="Send" type="object"/>
                     </group>
                 </form>
             </field>
         </record>
 
-
-        <record model="ir.ui.view" id="crm_lead_forward_to_partner_form1">
-            <field name="name">crm_lead_forward_to_partner1</field>
-            <field name="model">crm.lead.forward.to.partner</field>
-            <field name="type">form</field>
-            <field name="inherit_id" ref="crm.crm_send_new_mail_view"/>
-            <field name="arch" type="xml">
-                <button name="action_send" position="replace">
-                    <button name="action_forward" string="Forward" icon="gtk-go-forward" type="object" />
-                </button>
-            </field>
-        </record>
-
         <record model="ir.actions.act_window" id="crm_lead_forward_to_partner_act">
             <field name="name">Forward to Partner</field>
             <field name="res_model">crm.lead.forward.to.partner</field>
@@ -94,7 +80,7 @@
                     </group>
                     <notebook colspan="6" >
                         <page string="Message" >
-                            <field name="body" nolabel="1" colspan="4" default_focus="1" readonly="1"/>
+                            <field name="body_text" nolabel="1" colspan="4" default_focus="1" readonly="1"/>
                         </page>
                         <page string="Attachments" >
                             <field name="attachment_ids" colspan="4" nolabel="1">