<commit_before><openerp>
    <data>
        <!-- explicit list view definition -->
        <record model="ir.ui.view" id="cowin_project.list">
            <field name="name">cowin_project list</field>
            <field name="model">cowin_project.cowin_project</field>
            <field name="arch" type="xml">
                <tree>
                    <field name="name"/>
                    <field name="project_number"/>
                    <field name="industry"/>
                    <field name="production"/>
                </tree>
            </field>
        </record>

        <!-- actions opening views on models -->
        <record model="ir.actions.act_window" id="cowin_project.action_window">
            <field name="name">cowin_project window</field>
            <field name="res_model">cowin_project.cowin_project</field>
            <field name="view_mode">tree,form</field>
        </record>



         <!--项目流程 看板-->
        <record id="project_process_kanban_view" model="ir.ui.view">
            <field name="name">coowin_project.process.kanban</field>
            <field name="model">cowin_project.cowin_project</field>
            <!--<field name="priority">10</field>-->
            <field name="arch" type="xml">
                <kanban class="project_process_kanban_wrap">
                    <field name="name"/>
                    <field name="image" widget="image"/>
                    <field name="register_person"/>
                    <field name="project_number"/>
                    <field name="write_date"/>
                    <field name="invest_manager"/>
                    <field name="project_partner"/>
                    <field name="registered_address"/>
                    <field name="peration_place"/>
                    <field name="contract_person"/>
                    <field name="industry"/>
                    <field name="production"/>
                    <field name="state"/>
                    <templates>
                    <t t-name="kanban-box">
                        <div class="project_process_kanban oe_kanban_global_click">
                            <div class="kanban_top">
                                <div class="project_name">项目名称：<t t-esc="record.name.value"/></div>
                                <div class="project_top_right">
                                    <span>登记人：<t t-esc="record.register_person.value"/> </span>
                                    <span><t t-esc="record.write_date.value"/> </span>
                                </div>
                            </div>
                            <div class="kanban_project_logo">
                                <t t-if="record.image.value">
                                    <img t-att-src="'data:image/png;base64,'+record.image.value"/>
                                </t>
                                <t t-else="">
                                    <img src="/cowin_project/static/src/img/project_logo.png"/>
                                </t>
                            </div>
                            <div class="kanban_main">
                                <div>投资经理：<t t-esc="record.invest_manager.value"/></div>
                                <div>项目合伙人：<t t-esc="record.project_partner.value"/></div>
                                <div>注册地:<t t-esc="record.registered_address.value"/></div>
                                <div>运营地:<t t-esc="record.peration_place.value"/></div>
                                <div>联系人:<t t-esc="record.contract_person.value"/></div>
                                <div>所属行业:<t t-esc="record.industry.value"/></div>
                                <div class="kanban_project_product">产品:<t t-esc="record.production.value"/></div>
                                <div class="kanban_project_state">【状态：<t t-esc="record.state.value"/>】</div>
                            </div>
                        </div>
                    </t>
                    </templates>
                </kanban>
            </field>
        </record>

        <!--项目流程的form视图-->
        <record model="ir.ui.view" id="project_process_form_view">
            <field name="name">coowin_project.process.kanban</field>
            <field name="model">cowin_project.cowin_project</field>
            <!--<field name="priority">10</field>-->
            <field name="arch" type="xml">
                <form string="Fiscal year">
                    <div class="cowin_process_form_wrap">
                        <group>
                            <field name="name"/>
                            <field name="image" widget="image"/>
                            <field name="register_person"/>
                            <field name="project_number"/>
                            <field name="write_date"/>
                            <field name="invest_manager"/>
                            <field name="project_partner"/>
                            <field name="registered_address"/>
                            <field name="peration_place"/>
                            <field name="contract_person"/>
                            <field name="industry"/>
                            <field name="production"/>
                            <field name="state"/>
                        </group>
                    </div>
                </form>
            </field>
        </record>



        <record model="ir.actions.act_window" id="action_project_process">
            <field name="name">cowin_project_process window</field>
            <field name="res_model">cowin_project.cowin_project</field>
            <field name="view_type">form</field>
            <field name="view_mode">kanban,tree,form</field>
        </record>

        <!-- Top menu item -->
        <menuitem name="项目" id="cowin_project.menu_root"/>

        <!--暂时把项目流程的视图放到项目审批内-->
         <record id="action_project_approval" model="ir.actions.client">
            <field name="name">project approval</field>
            <field name="tag">project_process</field>
        </record>

        <!-- menu categories -->
        <!--左侧菜单-->
        <menuitem name="项目管理" id="cowin_project.menu_1" parent="cowin_project.menu_root"/>
        <menuitem name="投后管理" id="cowin_project.menu_2" parent="cowin_project.menu_root"/>
        <menuitem name="项目查询" id="cowin_project.menu_3" parent="cowin_project.menu_root"
                  action="cowin_project.action_window"/>
        <!--<menuitem name="风险管理" id="cowin_project.menu_4" parent="cowin_project.menu_root"/>-->
        <!-- actions -->
        <menuitem name="项目流程" id="cowin_project.menu_11" parent="cowin_project.menu_1"
                  action="action_project_process"/>

        <menuitem name="项目审批" id="cowin_project.menu_12" parent="cowin_project.menu_1"
                  action="action_project_approval"/>

        <menuitem name="投后跟进" id="cowin_project.menu_22" parent="cowin_project.menu_2"
                  action="cowin_project.action_window"/>

        <menuitem name="投后审批" id="cowin_project.menu_23" parent="cowin_project.menu_2"
                  action="cowin_project.action_window"/>







    </data>
</openerp><commit_msg>'project'<commit_after><openerp>
    <data>
        <!-- explicit list view definition -->
        <record model="ir.ui.view" id="cowin_project.list">
            <field name="name">cowin_project list</field>
            <field name="model">cowin_project</field>
            <field name="arch" type="xml">
                <tree>
                    <field name="name"/>
                    <field name="project_number"/>
                    <field name="industry"/>
                    <field name="production"/>
                </tree>
            </field>
        </record>

        <!-- actions opening views on models -->
        <record model="ir.actions.act_window" id="cowin_project.action_window">
            <field name="name">cowin_project window</field>
            <field name="res_model">cowin_project</field>
            <field name="view_mode">tree,form</field>
        </record>



         <!--项目流程 看板-->
        <record id="project_process_kanban_view" model="ir.ui.view">
            <field name="name">coowin_project.process.kanban</field>
            <field name="model">cowin_project</field>
            <!--<field name="priority">10</field>-->
            <field name="arch" type="xml">
                <kanban class="project_process_kanban_wrap">
                    <field name="name"/>
                    <field name="image" widget="image"/>
                    <field name="register_person"/>
                    <field name="project_number"/>
                    <field name="write_date"/>
                    <field name="invest_manager"/>
                    <field name="project_partner"/>
                    <field name="registered_address"/>
                    <field name="peration_place"/>
                    <field name="contract_person"/>
                    <field name="industry"/>
                    <field name="production"/>
                    <field name="state"/>
                    <templates>
                    <t t-name="kanban-box">
                        <div class="project_process_kanban oe_kanban_global_click">
                            <div class="kanban_top">
                                <div class="project_name">项目名称：<t t-esc="record.name.value"/></div>
                                <div class="project_top_right">
                                    <span>登记人：<t t-esc="record.register_person.value"/> </span>
                                    <span><t t-esc="record.write_date.value"/> </span>
                                </div>
                            </div>
                            <div class="kanban_project_logo">
                                <t t-if="record.image.value">
                                    <img t-att-src="'data:image/png;base64,'+record.image.value"/>
                                </t>
                                <t t-else="">
                                    <img src="/cowin_project/static/src/img/project_logo.png"/>
                                </t>
                            </div>
                            <div class="kanban_main">
                                <div>投资经理：<t t-esc="record.invest_manager.value"/></div>
                                <div>项目合伙人：<t t-esc="record.project_partner.value"/></div>
                                <div>注册地:<t t-esc="record.registered_address.value"/></div>
                                <div>运营地:<t t-esc="record.peration_place.value"/></div>
                                <div>联系人:<t t-esc="record.contract_person.value"/></div>
                                <div>所属行业:<t t-esc="record.industry.value"/></div>
                                <div class="kanban_project_product">产品:<t t-esc="record.production.value"/></div>
                                <div class="kanban_project_state">【状态：<t t-esc="record.state.value"/>】</div>
                            </div>
                        </div>
                    </t>
                    </templates>
                </kanban>
            </field>
        </record>

        <!--项目流程的form视图-->
        <record model="ir.ui.view" id="project_process_form_view">
            <field name="name">coowin_project.process.kanban</field>
            <field name="model">cowin_project</field>
            <!--<field name="priority">10</field>-->
            <field name="arch" type="xml">
                <form string="Fiscal year">
                    <div class="cowin_process_form_wrap">
                        <group>
                            <field name="name"/>
                            <field name="image" widget="image"/>
                            <field name="register_person"/>
                            <field name="project_number"/>
                            <field name="write_date"/>
                            <field name="invest_manager"/>
                            <field name="project_partner"/>
                            <field name="registered_address"/>
                            <field name="peration_place"/>
                            <field name="contract_person"/>
                            <field name="industry"/>
                            <field name="production"/>
                            <field name="state"/>
                        </group>
                    </div>
                </form>
            </field>
        </record>



        <record model="ir.actions.act_window" id="action_project_process">
            <field name="name">cowin_project_process window</field>
            <field name="res_model">cowin_project</field>
            <field name="view_type">form</field>
            <field name="view_mode">kanban,tree,form</field>
        </record>

        <!-- Top menu item -->
        <menuitem name="项目" id="cowin_project.menu_root"/>

        <!--暂时把项目流程的视图放到项目审批内-->
         <record id="action_project_approval" model="ir.actions.client">
            <field name="name">project approval</field>
            <field name="tag">project_process</field>
        </record>

        <!-- menu categories -->
        <!--左侧菜单-->
        <menuitem name="项目管理" id="cowin_project.menu_1" parent="cowin_project.menu_root"/>
        <menuitem name="投后管理" id="cowin_project.menu_2" parent="cowin_project.menu_root"/>
        <menuitem name="项目查询" id="cowin_project.menu_3" parent="cowin_project.menu_root"
                  action="cowin_project.action_window"/>
        <!--<menuitem name="风险管理" id="cowin_project.menu_4" parent="cowin_project.menu_root"/>-->
        <!-- actions -->
        <menuitem name="项目流程" id="cowin_project.menu_11" parent="cowin_project.menu_1"
                  action="action_project_process"/>

        <menuitem name="项目审批" id="cowin_project.menu_12" parent="cowin_project.menu_1"
                  action="action_project_approval"/>

        <menuitem name="投后跟进" id="cowin_project.menu_22" parent="cowin_project.menu_2"
                  action="cowin_project.action_window"/>

        <menuitem name="投后审批" id="cowin_project.menu_23" parent="cowin_project.menu_2"
                  action="cowin_project.action_window"/>







    </data>
</openerp>
{'fraction_non_alphanumeric': 0.1394648360885402, 'fraction_numerical': 0.0030820958251611096, 'mean_word_length': 1.4035353535353536, 'pattern_counts': {'":': 0, '<': 343, '<?xml version=': 0, '>': 343, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 16, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3803164', 'n_tokens_mistral': 3956, 'n_tokens_neox': 3954, 'n_words': 543}