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

    <act_window
        id="crm_case_categ_phone_create_partner"
        name="Schedule Phone Call"
        res_model="crm.phonecall"
        src_model="res.partner"
        view_mode="calendar,tree,form"
        context="{'default_partner_id': active_id, 'default_duration': 1.0}"
        domain="[('partner_id', '=', active_id)]"
        />


    ######################## PHONE CALLS (menu) ###########################
    <record model="ir.actions.act_window" id="crm_case_categ_phone0">
        <field name="name">Phone Calls</field>
        <field name="res_model">crm.phonecall</field>
        <field name="view_type">form</field>
        <field name="view_mode">tree,calendar</field>
        <field name="view_id" ref="crm_case_phone_tree_view"/>
        <field name="search_view_id" ref="crm.view_crm_case_phonecalls_filter"/>
    </record>
    <record model="ir.actions.act_window.view" id="action_crm_tag_tree_phone0">
        <field name="sequence" eval="1"/>
        <field name="view_mode">tree</field>
        <field name="view_id" ref="crm_case_phone_tree_view"/>
        <field name="act_window_id" ref="crm_case_categ_phone0"/>
    </record>
    <record model="ir.actions.act_window.view" id="action_crm_tag_calendar_phone0">
        <field name="sequence" eval="2"/>
        <field name="view_mode">calendar</field>
        <field name="view_id" ref="crm_case_phone_calendar_view"/>
        <field name="act_window_id" ref="crm_case_categ_phone0"/>
    </record>
    <record model="ir.actions.act_window.view" id="action_crm_tag_form_phone0">
        <field name="sequence" eval="3"/>
        <field name="view_mode">form</field>
        <field name="view_id" ref="crm_case_phone_form_view"/>
        <field name="act_window_id" ref="crm_case_categ_phone0"/>
    </record>
    <menuitem name="Phone Calls" id="menu_crm_case_phone"  parent="base.menu_base_partner" sequence="5"/>


    <record model="ir.actions.act_window" id="crm_case_categ_phone_incoming0">
        <field name="name">Inbound</field>
        <field name="res_model">crm.phonecall</field>
        <field name="view_type">form</field>
        <field name="view_mode">tree,calendar</field>
        <field name="view_id" ref="crm_case_phone_tree_view"/>
        <field name="domain" eval="'[(\'categ_id\',\'=\','+str(ref('categ_phone1'))+')]'"/>
        <field name="context">{'set_editable':True}</field>
        <field name="search_view_id" ref="crm.view_crm_case_phonecalls_filter"/>
    </record>
    <record model="ir.actions.act_window.view" id="action_crm_tag_tree_phone_incoming0">
        <field name="sequence" eval="1"/>
        <field name="view_mode">tree</field>
        <field name="view_id" ref="crm_case_phone_incomming_tree_view"/>
        <field name="act_window_id" ref="crm_case_categ_phone_incoming0"/>
    </record>
    <record model="ir.actions.act_window.view" id="action_crm_tag_calendar_phone_incoming0">
        <field name="sequence" eval="2"/>
        <field name="view_mode">calendar</field>
        <field name="view_id" ref="crm_case_phone_calendar_view"/>
        <field name="act_window_id" ref="crm_case_categ_phone_incoming0"/>
    </record>
    <record model="ir.actions.act_window.view" id="action_crm_tag_form_phone_incoming0">
        <field name="sequence" eval="3"/>
        <field name="view_mode">form</field>
        <field name="view_id" ref="crm_case_phone_form_view"/>
        <field name="act_window_id" ref="crm_case_categ_phone_incoming0"/>
    </record>
    <menuitem name="Inbound" id="menu_crm_case_phone_inbound"  parent="crm.menu_crm_case_phone" action="crm_case_categ_phone_incoming0"/>
    <record model="ir.actions.act_window" id="crm_case_categ_phone_outgoing0">
        <field name="name">Outbound</field>
        <field name="res_model">crm.phonecall</field>
        <field name="view_type">form</field>
        <field name="view_mode">tree,calendar</field>
        <field name="view_id" ref="crm_case_phone_tree_view"/>
        <field name="domain" eval="'[(\'categ_id\',\'=\','+str(ref('categ_phone2'))+')]'"/>
        <field name="search_view_id" ref="crm.view_crm_case_phonecalls_filter"/>
    </record>
    <record model="ir.actions.act_window.view" id="action_crm_tag_tree_phone_outgoing0">
        <field name="sequence" eval="1"/>
        <field name="view_mode">tree</field>
        <field name="view_id" ref="crm_case_phone_tree_view"/>
        <field name="act_window_id" ref="crm_case_categ_phone_outgoing0"/>
    </record><commit_msg>[FIX] crm: wrong view is define in Incomming Phonecall menu action<commit_after><?xml version="1.0"?>
<openerp>
<data noupdate="1">

    <act_window
        id="crm_case_categ_phone_create_partner"
        name="Schedule Phone Call"
        res_model="crm.phonecall"
        src_model="res.partner"
        view_mode="calendar,tree,form"
        context="{'default_partner_id': active_id, 'default_duration': 1.0}"
        domain="[('partner_id', '=', active_id)]"
        />


    ######################## PHONE CALLS (menu) ###########################
    <record model="ir.actions.act_window" id="crm_case_categ_phone0">
        <field name="name">Phone Calls</field>
        <field name="res_model">crm.phonecall</field>
        <field name="view_type">form</field>
        <field name="view_mode">tree,calendar</field>
        <field name="view_id" ref="crm_case_phone_tree_view"/>
        <field name="search_view_id" ref="crm.view_crm_case_phonecalls_filter"/>
    </record>
    <record model="ir.actions.act_window.view" id="action_crm_tag_tree_phone0">
        <field name="sequence" eval="1"/>
        <field name="view_mode">tree</field>
        <field name="view_id" ref="crm_case_phone_tree_view"/>
        <field name="act_window_id" ref="crm_case_categ_phone0"/>
    </record>
    <record model="ir.actions.act_window.view" id="action_crm_tag_calendar_phone0">
        <field name="sequence" eval="2"/>
        <field name="view_mode">calendar</field>
        <field name="view_id" ref="crm_case_phone_calendar_view"/>
        <field name="act_window_id" ref="crm_case_categ_phone0"/>
    </record>
    <record model="ir.actions.act_window.view" id="action_crm_tag_form_phone0">
        <field name="sequence" eval="3"/>
        <field name="view_mode">form</field>
        <field name="view_id" ref="crm_case_phone_form_view"/>
        <field name="act_window_id" ref="crm_case_categ_phone0"/>
    </record>
    <menuitem name="Phone Calls" id="menu_crm_case_phone"  parent="base.menu_base_partner" sequence="5"/>


    <record model="ir.actions.act_window" id="crm_case_categ_phone_incoming0">
        <field name="name">Inbound</field>
        <field name="res_model">crm.phonecall</field>
        <field name="view_type">form</field>
        <field name="view_mode">tree,calendar</field>
        <field name="view_id" ref="crm_case_phone_tree_view"/>
        <field name="domain" eval="'[(\'categ_id\',\'=\','+str(ref('categ_phone1'))+')]'"/>
        <field name="context">{'set_editable':True}</field>
        <field name="search_view_id" ref="crm.view_crm_case_phonecalls_filter"/>
    </record>
    <record model="ir.actions.act_window.view" id="action_crm_tag_tree_phone_incoming0">
        <field name="sequence" eval="1"/>
        <field name="view_mode">tree</field>
        <field name="view_id" ref="crm_case_phone_tree_view"/>
        <field name="act_window_id" ref="crm_case_categ_phone_incoming0"/>
    </record>
    <record model="ir.actions.act_window.view" id="action_crm_tag_calendar_phone_incoming0">
        <field name="sequence" eval="2"/>
        <field name="view_mode">calendar</field>
        <field name="view_id" ref="crm_case_phone_calendar_view"/>
        <field name="act_window_id" ref="crm_case_categ_phone_incoming0"/>
    </record>
    <record model="ir.actions.act_window.view" id="action_crm_tag_form_phone_incoming0">
        <field name="sequence" eval="3"/>
        <field name="view_mode">form</field>
        <field name="view_id" ref="crm_case_phone_form_view"/>
        <field name="act_window_id" ref="crm_case_categ_phone_incoming0"/>
    </record>
    <menuitem name="Inbound" id="menu_crm_case_phone_inbound"  parent="crm.menu_crm_case_phone" action="crm_case_categ_phone_incoming0"/>
    <record model="ir.actions.act_window" id="crm_case_categ_phone_outgoing0">
        <field name="name">Outbound</field>
        <field name="res_model">crm.phonecall</field>
        <field name="view_type">form</field>
        <field name="view_mode">tree,calendar</field>
        <field name="view_id" ref="crm_case_phone_tree_view"/>
        <field name="domain" eval="'[(\'categ_id\',\'=\','+str(ref('categ_phone2'))+')]'"/>
        <field name="search_view_id" ref="crm.view_crm_case_phonecalls_filter"/>
    </record>
    <record model="ir.actions.act_window.view" id="action_crm_tag_tree_phone_outgoing0">
        <field name="sequence" eval="1"/>
        <field name="view_mode">tree</field>
        <field name="view_id" ref="crm_case_phone_tree_view"/>
        <field name="act_window_id" ref="crm_case_categ_phone_outgoing0"/>
    </record>
{'fraction_non_alphanumeric': 0.1701036552100382, 'fraction_numerical': 0.007201309328968904, 'mean_word_length': 4.222792022792023, 'pattern_counts': {'":': 0, '<': 193, '<?xml version=': 2, '>': 193, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '7465615', 'n_tokens_mistral': 3195, 'n_tokens_neox': 3179, 'n_words': 411}