<commit_before><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <record model="ir.ui.view" id="view_purchase_order_graph">
            <field name="name">product.month.graph</field>
            <field name="model">report.purchase.order</field>
            <field name="type">graph</field>
            <field name="arch" type="xml">
                <graph string="Purchase Orders Statistics" type="bar">
                    <field name="product_id"/>
                    <field name="quantity" operator="+"/>
                    <field name="price_total" operator="+"/>
                </graph>
            </field>
        </record>

        <record id="view_purchase_order_tree" model="ir.ui.view">
            <field name="name">report.purchase.order.tree</field>
            <field name="model">report.purchase.order</field>
            <field name="type">tree</field>
            <field name="arch" type="xml">
                <tree string="Purchase Orders Statistics">
                    <field name="name"/>
                    <field name="month"/>
                    <field name="partner_id"/>
                    <field name="product_id"/>
                    <field name="user_id" invisible="1"/>
                    <field name="category_id" invisible="1"/>
                    <field name="date" invisible="1"/>
                    <field name="company_id" invisible="1"/>
                    <field name="count"/>
                    <field name="quantity"/>
                    <field name="price_total"/>
                    <field name="price_average"/>
                    <field name="state"/>
                </tree>
            </field>
        </record>

        <record id="view_purchase_order_search" model="ir.ui.view">
        <field name="name">report.purchase.order.search</field>
        <field name="model">report.purchase.order</field>
        <field name="type">search</field>
        <field name="arch" type="xml">
            <search string="Sale Orders">
                <filter icon="terp-purchase"
                    string="This Year"<commit_msg>[IMP]:Improved code of SQL purchase report.<commit_after><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <record model="ir.ui.view" id="view_purchase_order_graph">
            <field name="name">product.month.graph</field>
            <field name="model">report.purchase.order</field>
            <field name="type">graph</field>
            <field name="arch" type="xml">
                <graph string="Purchase Orders Statistics" type="bar">
                    <field name="product_id"/>
                    <field name="quantity" operator="+"/>
                    <field name="price_total" operator="+"/>
                </graph>
            </field>
        </record>

        <record id="view_purchase_order_tree" model="ir.ui.view">
            <field name="name">report.purchase.order.tree</field>
            <field name="model">report.purchase.order</field>
            <field name="type">tree</field>
            <field name="arch" type="xml">
                <tree string="Purchase Orders Statistics">
                    <field name="name"/>
                    <field name="month"/>
                    <field name="partner_id"/>
                    <field name="product_id"/>
                    <field name="user_id" invisible="1"/>
                    <field name="category_id" invisible="1"/>
                    <field name="date" invisible="1"/>
                    <field name="company_id" invisible="1"/>
                    <field name="count"/>
                    <field name="quantity"/>
                    <field name="price_total"/>
                    <field name="price_average"/>
                    <field name="state"/>
                </tree>
            </field>
        </record>

        <record id="view_purchase_order_search" model="ir.ui.view">
        <field name="name">report.purchase.order.search</field>
        <field name="model">report.purchase.order</field>
        <field name="type">search</field>
        <field name="arch" type="xml">
            <search string="Purchase Orders">
                <filter icon="terp-purchase"
                    string="This Year"
{'fraction_non_alphanumeric': 0.15127238454288408, 'fraction_numerical': 0.003298774740810556, 'mean_word_length': 1.6952380952380952, 'pattern_counts': {'":': 0, '<': 109, '<?xml version=': 2, '>': 107, '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': '7479190', 'n_tokens_mistral': 1137, 'n_tokens_neox': 1078, 'n_words': 206}