<commit_before><?xml version="1.0" encoding="UTF-8"?>
<odoo>
        <record model="ir.ui.view" id="crm_lead_forward_to_partner_form">
            <field name="name">crm_lead_forward_to_partner</field>
            <field name="model">crm.lead.forward.to.partner</field>
            <field name="arch" type="xml">
                <form string="Send Mail">
                    <group>
                        <field name="forward_type" invisible="context.get('hide_forward_type',False)"/>
                    </group>
                    <group>
                        <group>
                            <field name="partner_id" attrs="{'invisible': [('forward_type', 'in', ['assigned',False])], 'required': [('forward_type', '=', 'single')]}"  />
                        </group>
                        <group>
                        </group>
                    </group>
                    <field name="assignation_lines" attrs="{'invisible': [('forward_type', 'in', ['single',False])]}">
                        <tree create="false" editable="bottom">
                            <field name="lead_id" readonly="1"/>
                            <field name="lead_location" readonly="1"/>
                            <field name="partner_assigned_id"/>
                            <field name="partner_location" readonly="1"/>
                        </tree>
                    </field>
                    <notebook colspan="4" groups="base.group_no_one">
                        <page string="Email Template">
                            <field name="body" readonly="1" options="{'style-inline': true}"/>
                        </page>
                    </notebook>
                    <footer><commit_msg>[FIX] website_crm_partner_assign: get the lead to forward at save<commit_after><?xml version="1.0" encoding="UTF-8"?>
<odoo>
        <record model="ir.ui.view" id="crm_lead_forward_to_partner_form">
            <field name="name">crm_lead_forward_to_partner</field>
            <field name="model">crm.lead.forward.to.partner</field>
            <field name="arch" type="xml">
                <form string="Send Mail">
                    <group>
                        <field name="forward_type" invisible="context.get('hide_forward_type',False)"/>
                    </group>
                    <group>
                        <group>
                            <field name="partner_id" attrs="{'invisible': [('forward_type', 'in', ['assigned',False])], 'required': [('forward_type', '=', 'single')]}"  />
                        </group>
                        <group>
                        </group>
                    </group>
                    <field name="assignation_lines" attrs="{'invisible': [('forward_type', 'in', ['single',False])]}">
                        <tree create="false" editable="bottom">
                            <field name="lead_id" readonly="1" force_save="1" />
                            <field name="lead_location" readonly="1"/>
                            <field name="partner_assigned_id"/>
                            <field name="partner_location" readonly="1"/>
                        </tree>
                    </field>
                    <notebook colspan="4" groups="base.group_no_one">
                        <page string="Email Template">
                            <field name="body" readonly="1" options="{'style-inline': true}"/>
                        </page>
                    </notebook>
                    <footer>
{'fraction_non_alphanumeric': 0.1479154768703598, 'fraction_numerical': 0.0048543689320388345, 'mean_word_length': 1.3911262798634811, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 2, '>': 69, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2894314', 'n_tokens_mistral': 920, 'n_tokens_neox': 872, 'n_words': 154}