<commit_before><?xml version="1.0"?>
<openerp>
    <data>
        <record id="month_product_cost_tree" model="ir.ui.view">
            <field name="name">month.product.cost.tree</field>
            <field name="model">month.product.cost</field>
            <field name="arch" type="xml">
                <tree string="产品"  edit="false">
                    <field name="goods_id"/>
                    <field name="period_id"/>
                    <field name="period_begin_qty" sum="1"/>
                    <field name="period_begin_cost" sum="1"/>
                    <field name="current_period_out_qty" sum="1"/>
                    <field name="current_period_out_cost" sum="1"/>
                    <field name="current_period_in_qty" sum="1"/>
                    <field name="current_period_in_cost" sum="1"/>
                    <field name="current_period_remaining_qty" sum="1"/>
                    <field name = "current_period_remaining_cost" sum="1"/>
                </tree>
            </field>
        </record>

        <record id="month_product_cost_search" model="ir.ui.view">
            <field name="name">发出成本</field>
            <field name="model">month.product.cost</field>
            <field name="arch" type="xml">
                <search string="Search Voucher">
                    <field name='goods_id' filter_domain="[('name','ilike',self)]"/>
                    <field name='period_id'/>
                    <separator/>
                    <group expand="0" string="分组">
                        <filter string="会计期间" domain="[]" context="{'group_by':'period_id'}"/>
                        <filter string="产品" domain="[]" context="{'group_by':'goods_id'}"/>
                    </group>
                </search>
            </field>
        </record>
        <record id="month_product_cost_action" model="ir.actions.act_window">
            <field name="name">发出成本(总)</field>
            <field name="res_model">month.product.cost</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree</field>
            <field name="target"></field>
        </record>
        <menuitem id='month_product_cost_menu' action='month_product_cost_action' parent='voucher_books_menu' sequence='40'/>
    </data>
</openerp><commit_msg>[bug fix 漏洞修改]发出成本表的发出成本 应和会计凭证中的保持一致。，<commit_after><?xml version="1.0"?>
<openerp>
    <data>
        <record id="month_product_cost_tree" model="ir.ui.view">
            <field name="name">month.product.cost.tree</field>
            <field name="model">month.product.cost</field>
            <field name="arch" type="xml">
                <tree string="产品"  edit="false">
                    <field name="goods_id"/>
                    <field name="period_id"/>
                    <field name="period_begin_qty" sum="1"/>
                    <field name="period_begin_cost" sum="1"/>
                    <field name="current_period_out_qty" sum="1"/>
                    <field name="current_period_out_cost" sum="1"/>
                    <field name="current_period_in_qty" sum="1"/>
                    <field name="current_period_in_cost" sum="1"/>
                    <field name="current_period_remaining_qty" sum="1"/>
                    <field name = "current_period_remaining_cost" sum="1"/>
                </tree>
            </field>
        </record>

        <record id="month_product_cost_search" model="ir.ui.view">
            <field name="name">发出成本</field>
            <field name="model">month.product.cost</field>
            <field name="arch" type="xml">
                <search string="Search Voucher">
                    <field name='goods_id' filter_domain="[('name','ilike',self)]"/>
                    <field name='period_id'/>
                    <separator/>
                    <group expand="0" string="分组">
                        <filter string="会计期间" domain="[]" context="{'group_by':'period_id'}"/>
                        <filter string="产品" domain="[]" context="{'group_by':'goods_id'}"/>
                    </group>
                </search>
            </field>
        </record>
        <record id="month_product_cost_action" model="ir.actions.act_window">
            <field name="name">发出成本</field>
            <field name="res_model">month.product.cost</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree</field>
            <field name="target"></field>
        </record>
        <menuitem id='month_product_cost_menu' action='month_product_cost_action' parent='voucher_books_menu' sequence='40'/>
    </data>
</openerp>
{'fraction_non_alphanumeric': 0.1581798483206934, 'fraction_numerical': 0.005633802816901409, 'mean_word_length': 1.9178255372945638, 'pattern_counts': {'":': 0, '<': 113, '<?xml version=': 2, '>': 113, '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': '1437798', 'n_tokens_mistral': 1383, 'n_tokens_neox': 1341, 'n_words': 210}