<commit_before><?xml version="1.0" encoding="UTF-8"?>
<openerp>
    <data>
        <!--Customer res.partner-->
        <!-- Short view for partner -->
        <record model="ir.ui.view" id="view_insert_res_partner_form">
            <field name="name">res.partner.insert.form</field>
            <field name="model">res.partner</field>
            <field name="priority" eval="40" />
            <field name="arch" type="xml">
                <form string="Syncro partner" version="7.0">        
                    <header>
                        <button name="xmlrpc_export_partner" string="Sync Customer" type="object" icon="gtk-refresh" context="{'sync_type':'customer'}"/>
                        <button name="xmlrpc_export_partner" string="Sync Supplier" type="object" icon="gtk-refresh" context="{'sync_type':'supplier'}"/>
                        <field name="xmlrpc_sync" invisible="1"/>
                    </header>    
                    <sheet>
                        <group col="4" colspan="4">
                            <field name="name" />
                            <field name="vat" />
                            <field name="street" />
                            <field name="street2" />
                            <field name="zip" />
                            <field name="city" />
                            <field name="state_id" />
                            <field name="country_id" />
                            <field name="zone_id" />
                            <field name="website" />
                            <field name="phone" />
                            <field name="mobile" />
                            <field name="fax" />
                            <field name="email" />
                            <field name="lang" />
                            <field name="statistic_category_id" />
                            <field name="discount_rates" />
                            <field name="property_account_position" />
                            <field name="property_payment_term" />
                            <field name="property_product_pricelist" />
                            <field name="sql_customer_code" />
                            <field name="sql_supplier_code" />
                            <field name="sql_destination_code" />
                            <field name="is_agent" />
                            <field name="agent_id" />
                            <field name="sql_agent_code" />
                            <field name="is_private" />
                            <field name="private_name" />
                            <field name="private_surname" />
                            <field name="fiscalcode" />
                        </group>
                    </sheet>        
                </form>
            </field>
        </record>
        <record model="ir.actions.act_window" id="action_insert_res_partner">
            <field name="name">Syncro partner</field>
            <field name="res_model">res.partner</field>
            <field name="view_type">form</field>
            <field name="view_mode">form</field>
            <field name="view_id" ref="view_insert_res_partner_form"/>
            <field name="context">{}</field>
            <field name="domain">[]</field>
        </record>
        <menuitem 
            parent="base.menu_partner_form" 
            id="menu_insert_res_partner" 
            action="action_insert_res_partner"
            string="Syncro partner"
            />
        
        
        <record model="ir.ui.view" id="view_res_partner_sync_export_form">
            <field name="name">res.partner.form</field>
            <field name="model">res.partner</field>
            <field name="inherit_id" ref="base.view_partner_form"/>
            <field name="arch" type="xml">
                <xpath expr="/form/sheet" position="before">
                    <header>
                        <button name="xmlrpc_export_partner" string="Sync Customer" type="object" icon="gtk-refresh" context="{'sync_type':'customer'}"/><!-- attrs="{'invisible':['|','|','|',('xmlrpc_sync','=',True),('sql_customer_code','!=',False),('sql_supplier_code','!=',False),('sql_destination_code','!=',False)]}"-->
                        <button name="xmlrpc_export_partner" string="Sync Supplier" type="object" icon="gtk-refresh" context="{'sync_type':'supplier'}"/><!-- attrs="{'invisible':['|','|','|',('xmlrpc_sync','=',True),('sql_customer_code','!=',False),('sql_supplier_code','!=',False),('sql_destination_code','!=',False)]}"-->
                        <field name="xmlrpc_sync" invisible="1"/><commit_msg>Add field in partner new<commit_after><?xml version="1.0" encoding="UTF-8"?>
<openerp>
    <data>
        <!--Customer res.partner-->
        <!-- Short view for partner -->
        <record model="ir.ui.view" id="view_insert_res_partner_form">
            <field name="name">res.partner.insert.form</field>
            <field name="model">res.partner</field>
            <field name="priority" eval="40" />
            <field name="arch" type="xml">
                <form string="Syncro partner" version="7.0">        
                    <header>
                        <button name="xmlrpc_export_partner" string="Sync Customer" type="object" icon="gtk-refresh" context="{'sync_type':'customer'}"/>
                        <button name="xmlrpc_export_partner" string="Sync Supplier" type="object" icon="gtk-refresh" context="{'sync_type':'supplier'}"/>
                        <field name="xmlrpc_sync" invisible="1"/>
                    </header>    
                    <sheet>
                        <group col="4" colspan="4">
                            <field name="name" />
                            <field name="vat" />
                            <field name="street" />
                            <field name="street2" />
                            <field name="zip" />
                            <field name="city" />
                            <field name="state_id" />
                            <field name="country_id" />
                            <field name="zone_id" />
                            <field name="website" />
                            <field name="phone" />
                            <field name="mobile" />
                            <field name="fax" />
                            <field name="email" />
                            <field name="lang" />
                            <field name="statistic_category_id" />
                            <field name="zone_id" />
                            <field name="discount_rates" />
                            <field name="property_account_position" />
                            <field name="property_payment_term" />
                            <field name="property_product_pricelist" />
                            <field name="sql_customer_code" />
                            <field name="sql_supplier_code" />
                            <field name="sql_destination_code" />
                            <field name="is_agent" />
                            <field name="agent_id" />
                            <field name="sql_agent_code" />
                            <field name="is_private" />
                            <field name="private_name" />
                            <field name="private_surname" />
                            <field name="fiscalcode" />
                        </group>
                    </sheet>        
                </form>
            </field>
        </record>
        <record model="ir.actions.act_window" id="action_insert_res_partner">
            <field name="name">Syncro partner</field>
            <field name="res_model">res.partner</field>
            <field name="view_type">form</field>
            <field name="view_mode">form</field>
            <field name="view_id" ref="view_insert_res_partner_form"/>
            <field name="context">{}</field>
            <field name="domain">[]</field>
        </record>
        <menuitem 
            parent="base.menu_partner_form" 
            id="menu_insert_res_partner" 
            action="action_insert_res_partner"
            string="Syncro partner"
            />        
        
        <record model="ir.ui.view" id="view_res_partner_sync_export_form">
            <field name="name">res.partner.form</field>
            <field name="model">res.partner</field>
            <field name="inherit_id" ref="base.view_partner_form"/>
            <field name="arch" type="xml">
                <xpath expr="/form/sheet" position="before">
                    <header>
                        <button name="xmlrpc_export_partner" string="Sync Customer" type="object" icon="gtk-refresh" context="{'sync_type':'customer'}"/><!-- attrs="{'invisible':['|','|','|',('xmlrpc_sync','=',True),('sql_customer_code','!=',False),('sql_supplier_code','!=',False),('sql_destination_code','!=',False)]}"-->
                        <button name="xmlrpc_export_partner" string="Sync Supplier" type="object" icon="gtk-refresh" context="{'sync_type':'supplier'}"/><!-- attrs="{'invisible':['|','|','|',('xmlrpc_sync','=',True),('sql_customer_code','!=',False),('sql_supplier_code','!=',False),('sql_destination_code','!=',False)]}"-->
                        <field name="xmlrpc_sync" invisible="1"/>
{'fraction_non_alphanumeric': 0.15345104333868378, 'fraction_numerical': 0.002568218298555377, 'mean_word_length': 1.5002675227394329, 'pattern_counts': {'":': 0, '<': 174, '<?xml version=': 2, '>': 174, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 22}, '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': '400851', 'n_tokens_mistral': 2454, 'n_tokens_neox': 2391, 'n_words': 361}