<commit_before><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <record id="res_request_tree-view" model="ir.ui.view">
            <field name="name">res.request.tree</field>
            <field name="model">res.request</field>
            <field name="type">tree</field>
            <field name="arch" type="xml">
                <tree string="Requests">
                    <field name="create_date"/>
                    <field name="act_from"/>
                    <field name="act_to"/>
                    <field name="name"/>
                    <field name="priority"/>
                    <field name="trigger_date"/>
                    <field name="state"/>
                </tree>
            </field>
        </record>
        <record id="res_request-view" model="ir.ui.view">
            <field name="name">res.request.form</field>
            <field name="model">res.request</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="Requests">
                	<field name="act_from" select="1"/>
                    <field name="act_to" select="1"/>
                    <field colspan="4" name="name" select="1"/>
                    <notebook colspan="4">
                        <page string="Request">
                            <separator colspan="4" string="Description"/>
                            <newline/>
                            <field colspan="4" name="body" select="2"/>
                            <field name="trigger_date" select="2"/>
                            <group col="2" colspan="2">
                                <button name="request_send" states="draft,active" string="Send" type="object"/>
                                <button name="request_reply" states="waiting" string="Reply" type="object"/>
                            </group>
                            
                            <separator colspan="4" string="References"/>
                            <field name="ref_partner_id"/>
                            <field name="priority" select="2"/>
                            <field colspan="4" name="ref_doc1"/>
                            <field colspan="4" name="ref_doc2"/>
                            <separator colspan="4" string="Status"/>
                            <field name="state"/>
                            <group col="3" colspan="2">
                                <field name="active" select="2"/>
                                <button name="request_close" states="waiting,draft,active" string="End of Request" type="object"/>
                            </group>
                        </page>
                        <page string="History">
                            <field colspan="4" name="history" nolabel="1" widget="one2many_list"/>
                        </page>
                    </notebook>
                </form>
            </field>
        </record>
        <record id="res_request-act" model="ir.actions.act_window">
            <field name="name">Requests</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">res.request</field>
            <field name="view_id" eval="False"/>
        </record>
        <menuitem id="next_id_12" name="Requests" parent="base.next_id_4"/><menuitem action="res_request-act" id="menu_res_request_act" parent="next_id_12"/>
        
        <record id="res_request_link-view" model="ir.ui.view">
            <field name="name">res.request.link.form</field>
            <field name="model">res.request.link</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="Request Link">
                    <field name="name" select="1"/>
                    <field name="object" select="1"/>
                    <field name="priority"/>
                </form>
            </field>
        </record>
        <record id="res_request_link_tree-view" model="ir.ui.view">
            <field name="name">res.request.link.form</field>
            <field name="model">res.request.link</field>
            <field name="type">tree</field>
            <field name="arch" type="xml">
                <tree string="Request Link">
                    <field name="name"/>
                    <field name="object"/>
                </tree>
            </field>
        </record>
        
        <record id="res_request_link-act" model="ir.actions.act_window">
            <field name="name">Accepted Links in Requests</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">res.request.link</field>
            <field name="view_type">form</field>
            <field name="view_id" eval="False"/>
        </record>
        <menuitem action="res_request_link-act" id="menu_res_request_link_act" parent="base.next_id_12"/>
        
        
        <record id="res_request_history_tree-view" model="ir.ui.view">
            <field name="name">res.request.history.tree</field>
            <field name="model">res.request.history</field>
            <field name="type">tree</field>
            <field name="arch" type="xml">
                <tree string="Request History">
                    <field name="act_from"/>
                    <field name="act_to"/>
                    <field name="date_sent"/>
                    <field name="name"/>
                </tree>
            </field>
        </record>
        
        <record id="res_request_history_form-view" model="ir.ui.view">
            <field name="name">res.request.history.form</field>
            <field name="model">res.request.history</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="Request History">
                    <field name="act_from"/>
                    <field name="act_to"/>
                    <field name="date_sent"/>
                    <newline/>
                    <field colspan="4" name="body"/>
                </form>
            </field>
        </record>
    </data>
</openerp>
<commit_msg>[FIX]: fix a problem `End of request must not set active to False`<commit_after><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <record id="res_request_tree-view" model="ir.ui.view">
            <field name="name">res.request.tree</field>
            <field name="model">res.request</field>
            <field name="type">tree</field>
            <field name="arch" type="xml">
                <tree string="Requests">
                    <field name="create_date"/>
                    <field name="act_from"/>
                    <field name="act_to"/>
                    <field name="name"/>
                    <field name="priority"/>
                    <field name="trigger_date"/>
                    <field name="state"/>
                </tree>
            </field>
        </record>
        <record id="res_request-view" model="ir.ui.view">
            <field name="name">res.request.form</field>
            <field name="model">res.request</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="Requests">
                	<field name="act_from" select="1"/>
                    <field name="act_to" select="1"/>
                    <field colspan="4" name="name" select="1"/>
                    <notebook colspan="4">
                        <page string="Request">
                            <separator colspan="4" string="Description"/>
                            <newline/>
                            <field colspan="4" name="body" select="2"/>
                            <field name="trigger_date" select="2"/>
                            <group col="2" colspan="2">
                                <button name="request_send" states="draft,active" string="Send" type="object"/>
                                <button name="request_reply" states="waiting" string="Reply" type="object"/>
                            </group>
                            
                            <separator colspan="4" string="References"/>
                            <field name="ref_partner_id"/>
                            <field name="priority" select="2"/>
                            <field colspan="4" name="ref_doc1"/>
                            <field colspan="4" name="ref_doc2"/>
                            <separator colspan="4" string="Status"/>
                            <field name="state"/>
                            <group col="3" colspan="2">
                                <field name="active" select="2"/>
                                <button name="request_close" states="waiting,draft,active" string="End of Request" type="object"/>
                            </group>
                        </page>
                        <page string="History">
                            <field colspan="4" name="history" nolabel="1" widget="one2many_list"/>
                        </page>
                    </notebook>
                </form>
            </field>
        </record>
        <record id="res_request-act" model="ir.actions.act_window">
            <field name="name">My Requests</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">res.request</field>
            <field name="view_id" eval="False"/>
        </record>
        <menuitem id="next_id_12" name="Requests" parent="base.next_id_4"/>
        <menuitem action="res_request-act" id="menu_res_request_act" parent="next_id_12"/>
        
        <record id="res_request-closed" model="ir.actions.act_window">
            <field name="name">My Closed Requests</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">res.request</field>
            <field name="domain">[('active','=',False)]</field>
            <field name="view_id" eval="False"/>
        </record>
        <menuitem action="res_request-closed" id="next_id_12_close" parent="menu_res_request_act"/>
        
        <record id="res_request_link-view" model="ir.ui.view">
            <field name="name">res.request.link.form</field>
            <field name="model">res.request.link</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="Request Link">
                    <field name="name" select="1"/>
                    <field name="object" select="1"/>
                    <field name="priority"/>
                </form>
            </field>
        </record>
        <record id="res_request_link_tree-view" model="ir.ui.view">
            <field name="name">res.request.link.form</field>
            <field name="model">res.request.link</field>
            <field name="type">tree</field>
            <field name="arch" type="xml">
                <tree string="Request Link">
                    <field name="name"/>
                    <field name="object"/>
                </tree>
            </field>
        </record>
        
        <record id="res_request_link-act" model="ir.actions.act_window">
            <field name="name">Accepted Links in Requests</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">res.request.link</field>
            <field name="view_type">form</field>
            <field name="view_id" eval="False"/>
        </record>
        <menuitem action="res_request_link-act" id="menu_res_request_link_act" parent="base.next_id_12"/>
        
        
        <record id="res_request_history_tree-view" model="ir.ui.view">
            <field name="name">res.request.history.tree</field>
            <field name="model">res.request.history</field>
            <field name="type">tree</field>
            <field name="arch" type="xml">
                <tree string="Request History">
                    <field name="act_from"/>
                    <field name="act_to"/>
                    <field name="date_sent"/>
                    <field name="name"/>
                </tree>
            </field>
        </record>
        
        <record id="res_request_history_form-view" model="ir.ui.view">
            <field name="name">res.request.history.form</field>
            <field name="model">res.request.history</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="Request History">
                    <field name="act_from"/>
                    <field name="act_to"/>
                    <field name="date_sent"/>
                    <newline/>
                    <field colspan="4" name="body"/>
                </form>
            </field>
        </record>
    </data>
</openerp>

{'fraction_non_alphanumeric': 0.14905233601123158, 'fraction_numerical': 0.005927774744559707, 'mean_word_length': 1.473856839668146, 'pattern_counts': {'":': 0, '<': 315, '<?xml version=': 2, '>': 315, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 14}, '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': '5311722', 'n_tokens_mistral': 3403, 'n_tokens_neox': 3284, 'n_words': 597}