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

        <menuitem  id="menu_project_confi" name="Issues" parent="project.menu_definitions" sequence="2"/>

        <record model="ir.ui.view" id="project_issue_version_search_view">
            <field name="name">Issue Version</field>
            <field name="model">project.issue.version</field>
            <field name="type">search</field>
            <field name="arch" type="xml">
                <search string="Issue Version">
                    <field name="name"/>
                    <field name="active"/>
                </search>
            </field>
        </record>
        <record model="ir.ui.view" id="project_issue_version_form_view">
            <field name="name">Issue Version</field>
            <field name="model">project.issue.version</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="Issue Version">
                    <field name="name"/>
                    <field name="active"/>
                </form>
            </field>
        </record>
        <record id="project_issue_version_action" model="ir.actions.act_window">
            <field name="name">Versions</field>
            <field name="res_model">project.issue.version</field>
            <field name="view_type">form</field>
            <field name="help">You can use the issues tracker in OpenERP to handle bugs in the software development project, to handle claims in after-sales services, etc. Define here the different versions of your products on which you can work on issues.</field>
        </record>
        <menuitem action="project_issue_version_action" id="menu_project_issue_version_act" parent="menu_project_confi" groups="base.group_no_one"/>

        <record id="project_issue_categ_action" model="ir.actions.act_window">
            <field name="name">Issue 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', '=', 'project.issue')]</field>
            <field name="context" eval="{'object_id': ref('model_project_issue')}"/>
        </record>

        <menuitem action="project_issue_categ_action" name="Categories" id="menu_project_issue_category_act" parent="menu_project_confi" groups="base.group_no_one"/>

        <record model="ir.ui.view" id="project_issue_form_view">
            <field name="name">Project Issue Tracker Form</field>
            <field name="model">project.issue</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form layout="manual">
                <div class="oe_form_topbar">
                    <button name="stage_previous" string="Previous" type="object"
                            states="open" icon="gtk-go-back" context="{'stage_type': 'opportunity'}"/>
                    <button name="stage_next" string="Next" type="object"
                            states="open" icon="gtk-go-forward" context="{'stage_type': 'opportunity'}"/>
                    <button name="case_open" string="Open" type="object"
                            states="draft,pending" icon="gtk-go-forward"/>
                    <button name="case_pending" string="Pending" type="object"
                            states="draft,open" icon="gtk-convert"/>
                    <button name="case_close" string="Done" type="object"
                            states="draft,open,pending" icon="gtk-go-forward"/>
                    <button name="case_escalate" string="Escalate" type="object"
                            states="draft,open,pending" icon="gtk-go-up"/>
                    <button name="case_reset" string="Reset to New" type="object"
                            states="cancelled,done" icon="gtk-apply"/>
                    <button name="case_cancel" string="Cancel" type="object"
                            states="draft,open,pending" icon="gtk-cancel"/>
                    <div class="oe_right">
                        <field name="stage_id" nolabel="1" widget="statusbar"/>
                    </div>
                    <div class="oe_clear"/><commit_msg>[IMP] project_issue: cleaned buttons in form view<commit_after><?xml version="1.0"?>
<openerp>
    <data>

        <menuitem  id="menu_project_confi" name="Issues" parent="project.menu_definitions" sequence="2"/>

        <record model="ir.ui.view" id="project_issue_version_search_view">
            <field name="name">Issue Version</field>
            <field name="model">project.issue.version</field>
            <field name="type">search</field>
            <field name="arch" type="xml">
                <search string="Issue Version">
                    <field name="name"/>
                    <field name="active"/>
                </search>
            </field>
        </record>
        <record model="ir.ui.view" id="project_issue_version_form_view">
            <field name="name">Issue Version</field>
            <field name="model">project.issue.version</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="Issue Version">
                    <field name="name"/>
                    <field name="active"/>
                </form>
            </field>
        </record>
        <record id="project_issue_version_action" model="ir.actions.act_window">
            <field name="name">Versions</field>
            <field name="res_model">project.issue.version</field>
            <field name="view_type">form</field>
            <field name="help">You can use the issues tracker in OpenERP to handle bugs in the software development project, to handle claims in after-sales services, etc. Define here the different versions of your products on which you can work on issues.</field>
        </record>
        <menuitem action="project_issue_version_action" id="menu_project_issue_version_act" parent="menu_project_confi" groups="base.group_no_one"/>

        <record id="project_issue_categ_action" model="ir.actions.act_window">
            <field name="name">Issue 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', '=', 'project.issue')]</field>
            <field name="context" eval="{'object_id': ref('model_project_issue')}"/>
        </record>

        <menuitem action="project_issue_categ_action" name="Categories" id="menu_project_issue_category_act" parent="menu_project_confi" groups="base.group_no_one"/>

        <record model="ir.ui.view" id="project_issue_form_view">
            <field name="name">Project Issue Tracker Form</field>
            <field name="model">project.issue</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form layout="manual">
                <div class="oe_form_topbar">
                    
                    <button name="case_open" string="Open" type="object"
                            states="draft,pending"/>
                    <button name="case_close" string="Done" type="object"
                            states="draft,open,pending"/>
                    <button name="case_pending" string="Pending" type="object"
                            states="draft,open"/>
                    <button name="case_escalate" string="Escalate" type="object"
                            states="draft,open,pending"/>
                    <button name="case_reset" string="Reset to New" type="object"
                            states="cancelled,done"/>
                    <button name="stage_previous" string="Previous" type="object"
                            states="open" icon="gtk-go-back" context="{'stage_type': 'opportunity'}"/>
                    <button name="stage_next" string="Next" type="object"
                            states="open" icon="gtk-go-forward" context="{'stage_type': 'opportunity'}"/>
                    <button name="case_cancel" string="Cancel" type="object"
                            states="draft,open,pending"/>
                    <div class="oe_right">
                        <field name="stage_id" nolabel="1" widget="statusbar"/>
                    </div>
                    <div class="oe_clear"/>
{'fraction_non_alphanumeric': 0.14111579934364746, 'fraction_numerical': 0.0009376465072667605, 'mean_word_length': 2.1592002961865977, 'pattern_counts': {'":': 0, '<': 159, '<?xml version=': 2, '>': 159, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, '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': '4430049', 'n_tokens_mistral': 2319, 'n_tokens_neox': 2238, 'n_words': 435}