<commit_before><?xml version="1.0"?>
<openerp>
    <data>
    <!--  Need to merge this action in associations -->
    <!-- <action
        string="My Tasks"
        name="%(project.action_view_task)d"
        colspan="4"
        height="200"
        width="510"
        domain="[('user_id', '=', uid),('state','in',('open','draft'))]"/>
      	<action
                string="New members"
                name="%(membership.action_report_partner_member_year_tree)d"
                view_mode="graph,tree" colspan="4"/>-->

        <record model ="ir.ui.view" id="view_report_event_reg_graph">
            <field name="name">Registration Event report</field>
            <field name="model">report.event.registration</field>
            <field name="type">graph</field>
            <field name="arch" type="xml">
                <graph string="Event on Registration"  type="bar" >
                    <field name="event_id"/>
                    <field name="draft_state" operator="+"/>
                    <field name="confirm_state" operator="+"/>
                    <field name="register_max" operator="+"/>
                </graph>
            </field>
        </record>

        <record  model="ir.actions.act_window" id="act_event_reg">
            <field name="name">Events On Registrations</field>
            <field name="res_model">report.event.registration</field>
            <field name="view_type">form</field>
            <field name="view_mode">graph,tree</field>
            <field name="view_id" ref="view_report_event_reg_graph"/>
        </record>

       <record model="ir.actions.act_window" id="act_event_view">
           <field name="name">Next Events</field>
           <field name="type">ir.actions.act_window</field>
           <field name="res_model">event.event</field>
           <field name="view_type">form</field>
           <field name="view_mode">tree,form</field>
       </record>

        <record model="board.note.type" id="note_association_type">
            <field name="name">associations</field>
        </record>

        <record model="ir.ui.view" id="board_associations_manager_form">
            <field name="name">board.associations.manager.form</field>
            <field name="model">board.board</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="Association Dashboard">
                    <hpaned position="100">
                        <child1>
                            <action string="Next Events"
                                name="%(act_event_view)d"
                                colspan="4"/>
                            <action
                                string="Unpaid Invoices"
                                name="%(account.action_invoice_tree)d"
                                colspan="4"
                                domain="[('state','not in',['draft','cancel']),('reconciled','=',False),('type','=','out_invoice')]"/>
                        </child1>
                        <child2>
                            <action string="Register Events"
                                name="%(act_event_reg)d"
                                colspan="4"/>

                        </child2>

                    </hpaned>
                </form>
            </field>
        </record>

        <record model="ir.actions.act_window" id="open_board_associations_manager">
            <field name="name">Association Dashboard</field>
            <field name="res_model">board.board</field>
            <field name="view_type">form</field>
            <field name="view_mode">form</field>
            <field name="view_id" ref="board_associations_manager_form"/>
        </record>
        <menuitem id="board_associations" name="Dashboard" parent="base.menu_report_association" sequence="0"/>
        <menuitem
            name="Associations" parent="board_associations"
            action="open_board_associations_manager"
            sequence="1"
            id="menu_board_associations_manager"
            icon="terp-graph"/>

    </data>
</openerp><commit_msg>[MOD] Event :name changed in dashboard<commit_after><?xml version="1.0"?>
<openerp>
    <data>
    <!--  Need to merge this action in associations -->
    <!-- <action
        string="My Tasks"
        name="%(project.action_view_task)d"
        colspan="4"
        height="200"
        width="510"
        domain="[('user_id', '=', uid),('state','in',('open','draft'))]"/>
      	<action
                string="New members"
                name="%(membership.action_report_partner_member_year_tree)d"
                view_mode="graph,tree" colspan="4"/>-->

        <record model ="ir.ui.view" id="view_report_event_reg_graph">
            <field name="name">Registration Event report</field>
            <field name="model">report.event.registration</field>
            <field name="type">graph</field>
            <field name="arch" type="xml">
                <graph string="Event on Registration"  type="bar" >
                    <field name="event_id"/>
                    <field name="draft_state" operator="+"/>
                    <field name="confirm_state" operator="+"/>
                    <field name="register_max" operator="+"/>
                </graph>
            </field>
        </record>

        <record  model="ir.actions.act_window" id="act_event_reg">
            <field name="name">Events On Registrations</field>
            <field name="res_model">report.event.registration</field>
            <field name="view_type">form</field>
            <field name="view_mode">graph,tree</field>
            <field name="view_id" ref="view_report_event_reg_graph"/>
        </record>

       <record model="ir.actions.act_window" id="act_event_view">
           <field name="name">Next Events</field>
           <field name="type">ir.actions.act_window</field>
           <field name="res_model">event.event</field>
           <field name="view_type">form</field>
           <field name="view_mode">tree,form</field>
       </record>

        <record model="board.note.type" id="note_association_type">
            <field name="name">associations</field>
        </record>

        <record model="ir.ui.view" id="board_associations_manager_form">
            <field name="name">board.associations.manager.form</field>
            <field name="model">board.board</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="Association Dashboard">
                    <hpaned position="100">
                        <child1>
                            <action string="Next Events"
                                name="%(act_event_view)d"
                                colspan="4"/>
                            <action
                                string="Unpaid Invoices"
                                name="%(account.action_invoice_tree)d"
                                colspan="4"
                                domain="[('state','not in',['draft','cancel']),('reconciled','=',False),('type','=','out_invoice')]"/>
                        </child1>
                        <child2>
                            <action string="Register Events"
                                name="%(act_event_reg)d"
                                colspan="4"/>

                        </child2>

                    </hpaned>
                </form>
            </field>
        </record>

        <record model="ir.actions.act_window" id="open_board_associations_manager">
            <field name="name">Event Dashboard</field>
            <field name="res_model">board.board</field>
            <field name="view_type">form</field>
            <field name="view_mode">form</field>
            <field name="view_id" ref="board_associations_manager_form"/>
        </record>
        <menuitem id="board_associations" name="Dashboard" parent="base.menu_report_association" sequence="0"/>
        <menuitem
            name="Events" parent="board_associations"
            action="open_board_associations_manager"
            sequence="1"
            id="menu_board_associations_manager"
            icon="terp-graph"/>

    </data>
</openerp>
{'fraction_non_alphanumeric': 0.1455627048682773, 'fraction_numerical': 0.005341750637367974, 'mean_word_length': 1.7625754527162978, 'pattern_counts': {'":': 0, '<': 175, '<?xml version=': 2, '>': 175, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '2219269', 'n_tokens_mistral': 2271, 'n_tokens_neox': 2179, 'n_words': 344}