<commit_before><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <!-- Sales dashboard -->
        <record id="action_quotation_for_sale" model="ir.actions.act_window">
            <field name="name">My Quotations</field>
            <field name="res_model">sale.order</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree,form</field>
            <field name="domain">[('state','=','draft'),('user_id','=',uid)]</field>
            <field name="view_id" ref="sale.view_order_tree"/>
        </record>

        <record id="view_turnover_by_month_tree" model="ir.ui.view">
            <field name="name">turnover.by.month.tree</field>
            <field name="model">account.invoice.report</field>
            <field name="priority" eval="32"/>
            <field name="arch" type="xml">
                <tree string="Monthly Turnover">
                    <field name="month"/>
                    <field name="price_total"/>
                </tree>
            </field>
        </record>
        <record id="view_turnover_by_month_graph" model="ir.ui.view">
            <field name="name">turnover.by.month.graph</field>
            <field name="model">account.invoice.report</field>
            <field name="priority" eval="32"/>
            <field name="arch" type="xml">
                <graph string="Monthly Turnover" type="bar">
                    <field name="month" type="row"/>
                    <field name="price_total" type="measure"/>
                </graph>
            </field>
        </record>

        <record model="ir.actions.act_window" id="action_turnover_by_month">
            <field name="name">Monthly Turnover</field>
            <field name="res_model">account.invoice.report</field>
            <field name="view_type">form</field>
            <field name="view_mode">graph,tree</field>
            <field name="view_id" ref="view_turnover_by_month_graph"/>
            <field name="domain">[('year','ilike',time.strftime('%Y')),('user_id','=',uid)]</field>
            <field name="context">{'group_by_no_leaf':1,'group_by':['month']}</field>
        </record>

        <record id="board_sales_form" model="ir.ui.view">
            <field name="name">board.sales.form</field>
            <field name="model">board.board</field>
            <field name="arch" type="xml">
                <form string="Sales Dashboard" version="7.0"><commit_msg>[FIX] remove references to 'month' account.invoice.report field in sale/board_sale_view.xml.  That field was removed in the model (addon sale)<commit_after><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <!-- Sales dashboard -->
        <record id="action_quotation_for_sale" model="ir.actions.act_window">
            <field name="name">My Quotations</field>
            <field name="res_model">sale.order</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree,form</field>
            <field name="domain">[('state','=','draft'),('user_id','=',uid)]</field>
            <field name="view_id" ref="sale.view_order_tree"/>
        </record>

        <record id="view_turnover_by_month_tree" model="ir.ui.view">
            <field name="name">turnover.by.month.tree</field>
            <field name="model">account.invoice.report</field>
            <field name="priority" eval="32"/>
            <field name="arch" type="xml">
                <tree string="Monthly Turnover">
                    <field name="date" interval="month"/>
                    <field name="price_total"/>
                </tree>
            </field>
        </record>
        <record id="view_turnover_by_month_graph" model="ir.ui.view">
            <field name="name">turnover.by.month.graph</field>
            <field name="model">account.invoice.report</field>
            <field name="priority" eval="32"/>
            <field name="arch" type="xml">
                <graph string="Monthly Turnover" type="bar">
                    <field name="date" interval="month" type="row"/>
                    <field name="price_total" type="measure"/>
                </graph>
            </field>
        </record>

        <record model="ir.actions.act_window" id="action_turnover_by_month">
            <field name="name">Monthly Turnover</field>
            <field name="res_model">account.invoice.report</field>
            <field name="view_type">form</field>
            <field name="view_mode">graph,tree</field>
            <field name="view_id" ref="view_turnover_by_month_graph"/>
            <field name="domain">[('date','&lt;=', time.strftime('%Y-%m-%d')),('date','&gt;=',time.strftime('%Y-01-01')),('user_id','=',uid)]</field>
            <field name="context">{'group_by_no_leaf':1}</field>
        </record>

        <record id="board_sales_form" model="ir.ui.view">
            <field name="name">board.sales.form</field>
            <field name="model">board.board</field>
            <field name="arch" type="xml">
                <form string="Sales Dashboard" version="7.0">
{'fraction_non_alphanumeric': 0.17633136094674556, 'fraction_numerical': 0.004733727810650888, 'mean_word_length': 2.3716755319148937, 'pattern_counts': {'":': 0, '<': 133, '<?xml version=': 2, '>': 133, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 9}, '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': '5693167', 'n_tokens_mistral': 1530, 'n_tokens_neox': 1479, 'n_words': 235}