<commit_before><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
            <record id="view_scrum_sprint_dashboard_tree" model="ir.ui.view">
            <field name="name">project.scrum.sprint.dashboard.tree</field>
            <field name="model">project.scrum.sprint</field>
            <field name="type">tree</field>
            <field name="arch" type="xml">
            	 <tree string="Sprints">
                    <field name="name"/>
                    <field name="project_id"/>
                    <field name="scrum_master_id"/>
                    <field name="product_owner_id" invisible="1"/>
                    <field name="date_start"/>
                    <field name="progress" widget="progressbar"/>
                    <field name="effective_hours" sum="Effective hours" widget="float_time"/>
                    <field name="expected_hours" sum="Expected hours" widget="float_time"/>
                    <field name="state"/>
                    <button type="object" string="Open" name="button_open" states="draft,pending" icon="gtk-ok"/>
                    <button type="object" string="Pending" name="button_pending" states="open" icon="gtk-media-pause"/>
                    <button type="object" string="Close" name="button_close" states="open,pending" icon="terp-dialog-close"/>
                    <button type="object" string="Set to Draft" name="button_draft" states="cancel,done" icon="gtk-convert"/>
                	<button name="%(project_scrum.report_scrum_sprint_burndown_chart)d" states="open,draft,close,cancel"
                                	string="Burndown Chart" type="action" icon="gtk-print"/>
             	</tree>
            </field>
        </record>
        <record id="view_task_progress_graph" model="ir.ui.view">
            <field name="name">project.task.graph</field>
            <field name="model">project.task</field>
            <field name="type">graph</field>
            <field name="arch" type="xml">
                <graph string="Task Progress" type="bar">
                    <field name="sprint_id"/>
                    <field name="effective_hours" operator="+"/>
                    <field name="planned_hours" operator="+"/>
                </graph>
            </field>
        </record>
        <record id="action_view_task_progress_graph" model="ir.actions.act_window">
            <field name="name">Task Progress</field>
            <field name="res_model">project.task</field>
            <field name="view_type">form</field>
            <field name="view_mode">graph</field>
            <field name="view_id" ref="view_task_progress_graph"/>
        </record>

        <record id="view_backlog_progress_graph" model="ir.ui.view">
            <field name="name">project.scrum.sprint.graph</field>
            <field name="model">project.scrum.product.backlog</field>
            <field name="type">graph</field>
            <field name="arch" type="xml">
                <graph string="Backlog Progress" type="bar">
                    <field name="sprint_id"/>
                    <field name="effective_hours" operator="+"/>
                    <field name="expected_hours" operator="+"/>
                </graph>
            </field>
        </record>
        <record id="action_view_backlog_progress_graph" model="ir.actions.act_window">
            <field name="name">Backlog Progress</field>
            <field name="res_model">project.scrum.product.backlog</field>
            <field name="view_type">form</field>
            <field name="view_mode">graph</field>
        </record>
        <record id="action_sprint_all_dashboard_tree" model="ir.actions.act_window">
            <field name="name">Sprints</field>
            <field name="res_model">project.scrum.sprint</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree,form</field>
            <field name="view_id" ref="view_scrum_sprint_dashboard_tree"/>
        </record>
        <record id="board_project_scrum_form" model="ir.ui.view">
            <field name="name">board.project.form</field>
            <field name="model">board.board</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="My Board">
                    <hpaned>
                        <child1>
               				 <action colspan="4" height="220" name="%(action_sprint_all_dashboard_tree)d" string="Sprints" width="510"/>
                        </child1>
                        <child2>
                             <action colspan="4" height="220" name="%(action_view_task_progress_graph)d" string="Task Progress" width="510"/>
                             <action colspan="4" height="220" name="%(action_view_backlog_progress_graph)d" string="Backlog Progress" width="510"/>
                        </child2>
                    </hpaned>
                </form>
            </field>
        </record>
        <record id="open_board_project_scrum" model="ir.actions.act_window">
            <field name="name">Scrum Dashboard</field>
            <field name="res_model">board.board</field>
            <field name="view_type">form</field>
            <field name="view_mode">form</field>
            <field name="usage">menu</field>
            <field name="view_id" ref="board_project_scrum_form"/>
        </record>
        <menuitem
            id="menu_deshboard_scurm"
            name="Scrum Dashboard" parent="project.next_id_86"
            icon="terp-graph"
            action="open_board_project_scrum"/>

    <!-- For Project Dashboard -->
       <record id="view_scrum_sprint_project_dashboard_tree" model="ir.ui.view">
            <field name="name">project.scrum.sprint.project.dashboard.tree</field>
            <field name="model">project.scrum.sprint</field>
            <field name="type">tree</field>
            <field name="arch" type="xml">
            	 <tree string="Scrum Sprint">
                    <field name="name"/>
                    <field name="date_start"/>
                    <field name="progress" widget="progressbar"/>
                    <field name="effective_hours"  widget="float_time"/>
                    <field name="expected_hours"  widget="float_time"/>
                	<button name="%(project_scrum.report_scrum_sprint_burndown_chart)d"
                                	string="Burndown Chart" type="action" icon="gtk-print"/>
             	</tree>
            </field>
        </record>
        <record id="action_view_my_scrum_sprint_tree" model="ir.actions.act_window">
            <field name="name">My Sprint</field>
            <field name="res_model">project.scrum.sprint</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree,form</field>
            <field name="domain">['|',('product_owner_id','=',uid),('scrum_master_id','=',uid)]</field>
           <field name="view_id" ref="view_scrum_sprint_project_dashboard_tree"/>
        </record>
       <record id="board_my_scrum_sprint_form" model="ir.ui.view">
            <field name="name">board.my.scrum.sprint.form.inherit</field>
            <field name="model">board.board</field>
            <field name="type">form</field>
            <field name="inherit_id" ref="project.board_project_form"/>
            <field name="arch" type="xml">
            	<xpath expr="/form/hpaned/child1/action[@string='My Delegated Tasks']" position="after">
						<action colspan="4"  height="100" name="%(action_view_my_scrum_sprint_tree)d" string="My Sprint" />
            	</xpath>
            </field>
        </record>
    </data>
</openerp><commit_msg>[IMP]project_scrum : views are modified by board style and column<commit_after><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
            <record id="view_scrum_sprint_dashboard_tree" model="ir.ui.view">
            <field name="name">project.scrum.sprint.dashboard.tree</field>
            <field name="model">project.scrum.sprint</field>
            <field name="type">tree</field>
            <field name="arch" type="xml">
            	 <tree string="Sprints">
                    <field name="name"/>
                    <field name="project_id"/>
                    <field name="scrum_master_id"/>
                    <field name="product_owner_id" invisible="1"/>
                    <field name="date_start"/>
                    <field name="progress" widget="progressbar"/>
                    <field name="effective_hours" sum="Effective hours" widget="float_time"/>
                    <field name="expected_hours" sum="Expected hours" widget="float_time"/>
                    <field name="state"/>
                    <button type="object" string="Open" name="button_open" states="draft,pending" icon="gtk-ok"/>
                    <button type="object" string="Pending" name="button_pending" states="open" icon="gtk-media-pause"/>
                    <button type="object" string="Close" name="button_close" states="open,pending" icon="terp-dialog-close"/>
                    <button type="object" string="Set to Draft" name="button_draft" states="cancel,done" icon="gtk-convert"/>
                	<button name="%(project_scrum.report_scrum_sprint_burndown_chart)d" states="open,draft,close,cancel"
                                	string="Burndown Chart" type="action" icon="gtk-print"/>
             	</tree>
            </field>
        </record>
        <record id="view_task_progress_graph" model="ir.ui.view">
            <field name="name">project.task.graph</field>
            <field name="model">project.task</field>
            <field name="type">graph</field>
            <field name="arch" type="xml">
                <graph string="Task Progress" type="bar">
                    <field name="sprint_id"/>
                    <field name="effective_hours" operator="+"/>
                    <field name="planned_hours" operator="+"/>
                </graph>
            </field>
        </record>
        <record id="action_view_task_progress_graph" model="ir.actions.act_window">
            <field name="name">Task Progress</field>
            <field name="res_model">project.task</field>
            <field name="view_type">form</field>
            <field name="view_mode">graph</field>
            <field name="view_id" ref="view_task_progress_graph"/>
        </record>

        <record id="view_backlog_progress_graph" model="ir.ui.view">
            <field name="name">project.scrum.sprint.graph</field>
            <field name="model">project.scrum.product.backlog</field>
            <field name="type">graph</field>
            <field name="arch" type="xml">
                <graph string="Backlog Progress" type="bar">
                    <field name="sprint_id"/>
                    <field name="effective_hours" operator="+"/>
                    <field name="expected_hours" operator="+"/>
                </graph>
            </field>
        </record>
        <record id="action_view_backlog_progress_graph" model="ir.actions.act_window">
            <field name="name">Backlog Progress</field>
            <field name="res_model">project.scrum.product.backlog</field>
            <field name="view_type">form</field>
            <field name="view_mode">graph</field>
        </record>
        <record id="action_sprint_all_dashboard_tree" model="ir.actions.act_window">
            <field name="name">Sprints</field>
            <field name="res_model">project.scrum.sprint</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree,form</field>
            <field name="view_id" ref="view_scrum_sprint_dashboard_tree"/>
        </record>
        <record id="board_project_scrum_form" model="ir.ui.view">
            <field name="name">board.project.form</field>
            <field name="model">board.board</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="My Board">
                    <board style="1-2">
                        <column>
               				 <action name="%(action_sprint_all_dashboard_tree)d" string="Sprints"/>
                        </column>
                        <column>
                             <action name="%(action_view_task_progress_graph)d" string="Task Progress"/>
                             <action name="%(action_view_backlog_progress_graph)d" string="Backlog Progress"/>
                        </column>
                    </board>
                </form>
            </field>
        </record>
        <record id="open_board_project_scrum" model="ir.actions.act_window">
            <field name="name">Scrum Dashboard</field>
            <field name="res_model">board.board</field>
            <field name="view_type">form</field>
            <field name="view_mode">form</field>
            <field name="usage">menu</field>
            <field name="view_id" ref="board_project_scrum_form"/>
        </record>
        <menuitem
            id="menu_deshboard_scurm"
            name="Scrum Dashboard" parent="project.next_id_86"
            icon="terp-graph"
            action="open_board_project_scrum"/>

    <!-- For Project Dashboard -->
       <record id="view_scrum_sprint_project_dashboard_tree" model="ir.ui.view">
            <field name="name">project.scrum.sprint.project.dashboard.tree</field>
            <field name="model">project.scrum.sprint</field>
            <field name="type">tree</field>
            <field name="arch" type="xml">
            	 <tree string="Scrum Sprint">
                    <field name="name"/>
                    <field name="date_start"/>
                    <field name="progress" widget="progressbar"/>
                    <field name="effective_hours"  widget="float_time"/>
                    <field name="expected_hours"  widget="float_time"/>
                	<button name="%(project_scrum.report_scrum_sprint_burndown_chart)d"
                                	string="Burndown Chart" type="action" icon="gtk-print"/>
             	</tree>
            </field>
        </record>
        <record id="action_view_my_scrum_sprint_tree" model="ir.actions.act_window">
            <field name="name">My Sprint</field>
            <field name="res_model">project.scrum.sprint</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree,form</field>
            <field name="domain">['|',('product_owner_id','=',uid),('scrum_master_id','=',uid)]</field>
           <field name="view_id" ref="view_scrum_sprint_project_dashboard_tree"/>
        </record>
       <record id="board_my_scrum_sprint_form" model="ir.ui.view">
            <field name="name">board.my.scrum.sprint.form.inherit</field>
            <field name="model">board.board</field>
            <field name="type">form</field>
            <field name="inherit_id" ref="project.board_project_form"/>
            <field name="arch" type="xml">
            	<xpath expr="/form/board/column/action[@string='My Delegated Tasks']" position="after">
						<action name="%(action_view_my_scrum_sprint_tree)d" string="My Sprint"/>
            	</xpath>
            </field>
        </record>
    </data>
</openerp>
{'fraction_non_alphanumeric': 0.1488872841856496, 'fraction_numerical': 0.002888465830762161, 'mean_word_length': 2.1223611395777824, 'pattern_counts': {'":': 0, '<': 351, '<?xml version=': 2, '>': 351, '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': '5706720', 'n_tokens_mistral': 4365, 'n_tokens_neox': 4219, 'n_words': 671}