<commit_before><?xml version="1.0"?>
<openerp>
    <data>


    <!-- Phonecall Categories Form View  -->
    <record id="crm_phonecall_categ_action" model="ir.actions.act_window">
        <field name="name">Phonecall Categories</field>
        <field name="res_model">crm.case.categ</field>
        <field name="view_type">form</field>
        <field name="view_id" ref="crm.crm_case_categ_tree-view"/>
        <field name="domain">[('object_id.model', '=', 'crm.phonecall')]</field>
        <field name="context" eval="{'object_id': ref('model_crm_phonecall')}"/>
        <field name="help" type="html">
          <p class="oe_view_nocontent_create">
            Click to add a new category.
          </p><p>
            Create specific phone call categories to better define the type of
            calls tracked in the system.
          </p>
        </field>
    </record>

    <menuitem action="crm_phonecall_categ_action" name="Categories"
        id="menu_crm_case_phonecall-act" parent="menu_crm_config_phonecall" groups="base.group_no_one"/>

    <!-- Phonecalls Tree View -->
    <record model="ir.ui.view" id="crm_case_phone_tree_view">
        <field name="name">CRM - Phone Calls Tree</field>
        <field name="model">crm.phonecall</field>
        <field name="arch" type="xml">
            <tree colors="gray:state in ('cancel','done');blue:state in ('pending',)" string="Phone Calls">
                <field name="date"/>
                <field name="name"/>
                <field name="partner_id"/>
                <button string="Meeting"
                    states="open,pending"
                    name="action_make_meeting"
                    type="object"/>
                <button string="Convert to Opportunity"
                    type="object"
                    name="action_button_convert2opportunity"
                    states="open,pending"
                    attrs="{'invisible':[('opportunity_id','!=',False)]}"/>
                <field name="partner_phone"/>
                <field name="user_id"/>
                <field name="categ_id" invisible="1"/>
                <field name="create_date" invisible="1"/>
                <field name="opportunity_id" invisible="1"/>
                <field name="state"/>
                <button name="case_open" string="Confirm" type="object"
                        states="draft,pending" icon="gtk-go-forward"/>
                <button name="case_close" string="Held" type="object"
                        states="open,pending" icon="gtk-jump-to"/>
                <button name="case_cancel" string="Cancel" type="object"
                        states="draft,open,pending" icon="gtk-cancel"/><commit_msg>[FIX][trunk] Missing or Incorrect link to Images in CRM Scheduled Phonecalls treeview<commit_after><?xml version="1.0"?>
<openerp>
    <data>


    <!-- Phonecall Categories Form View  -->
    <record id="crm_phonecall_categ_action" model="ir.actions.act_window">
        <field name="name">Phonecall Categories</field>
        <field name="res_model">crm.case.categ</field>
        <field name="view_type">form</field>
        <field name="view_id" ref="crm.crm_case_categ_tree-view"/>
        <field name="domain">[('object_id.model', '=', 'crm.phonecall')]</field>
        <field name="context" eval="{'object_id': ref('model_crm_phonecall')}"/>
        <field name="help" type="html">
          <p class="oe_view_nocontent_create">
            Click to add a new category.
          </p><p>
            Create specific phone call categories to better define the type of
            calls tracked in the system.
          </p>
        </field>
    </record>

    <menuitem action="crm_phonecall_categ_action" name="Categories"
        id="menu_crm_case_phonecall-act" parent="menu_crm_config_phonecall" groups="base.group_no_one"/>

    <!-- Phonecalls Tree View -->
    <record model="ir.ui.view" id="crm_case_phone_tree_view">
        <field name="name">CRM - Phone Calls Tree</field>
        <field name="model">crm.phonecall</field>
        <field name="arch" type="xml">
            <tree colors="gray:state in ('cancel','done');blue:state in ('pending',)" string="Phone Calls">
                <field name="date"/>
                <field name="name"/>
                <field name="partner_id"/>
                <button string="Meeting"
                    states="open,pending"
                    name="action_make_meeting"
                    icon="gtk-redo"
                    type="object"/>
                <button string="Convert to Opportunity"
                    type="object"
                    name="action_button_convert2opportunity"
                    states="open,pending"
                    icon="gtk-index"
                    attrs="{'invisible':[('opportunity_id','!=',False)]}"/>
                <field name="partner_phone"/>
                <field name="user_id"/>
                <field name="categ_id" invisible="1"/>
                <field name="create_date" invisible="1"/>
                <field name="opportunity_id" invisible="1"/>
                <field name="state"/>
                <button name="case_open" string="Confirm" type="object"
                        states="draft,pending" icon="gtk-go-forward"/>
                <button name="case_close" string="Held" type="object"
                        states="open,pending" icon="gtk-jump-to"/>
                <button name="case_cancel" string="Cancel" type="object"
                        states="draft,open,pending" icon="gtk-cancel"/>
{'fraction_non_alphanumeric': 0.1481079123664675, 'fraction_numerical': 0.0021727322107550242, 'mean_word_length': 2.160183066361556, 'pattern_counts': {'":': 0, '<': 93, '<?xml version=': 2, '>': 93, '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': '4990265', 'n_tokens_mistral': 1604, 'n_tokens_neox': 1528, 'n_words': 294}