<commit_before><?xml version="1.0" encoding="utf-8"?>
<openerp>
	<data>

        <!-- External Report -->
		<record id="external_report_form_view" model="ir.ui.view">
			<field name="name">external_report_form_view</field>
			<field name="model">external.report</field>
			<field name="type">form</field>
			<field name="arch" type="xml">
				<form string="External Referential Reports">
                    <field name="name"/>
                    <newline/>
                    <field name="action"/>
                    <field name="action_on"/>
                    <field name="sync_from_object_model"/>
                    <field name="sync_from_object_id"/>
                    <field name="referential_id"/>
                    <newline/>
                    <field name="failed_line_ids" nolabel="1" colspan="4"/>
                    <button name="retry_failed_lines" string="Retry All Failed" icon="gtk-go-forward" type="object" colspan="2"/>
                    <button name="delete_failed_lines" string="Delete All Failed" icon="gtk-cancel" type="object" colspan="2"/>
                    <newline/>
                    <field name="history_ids" nolabel="1" colspan="4"/>
				</form>
			</field>
		</record>

		<record id="external_report_tree_view" model="ir.ui.view">
			<field name="name">external_report_tree_view</field>
			<field name="model">external.report</field>
			<field name="type">tree</field>
			<field name="arch" type="xml">
				<tree string="External Reports" colors="red:failed_line_ids">
                    <field name="referential_id"/>
                    <field name="name"/>
                    <field name="sync_from_object_model"/>
                    <field name="sync_from_object_id"/>
                    <field name="failed_line_ids" invisible="1"/>
				</tree>
			</field>
		</record>

        <record id="external_report_search_form_view" model="ir.ui.view">
            <field name="name">external_report_search_view</field>
            <field name="model">external.report</field>
            <field name="type">search</field>
            <field name="arch" type="xml">
                <search string="External Referential Reports">
                   <field name="name"/>
                   <field name="referential_id"/>
                   <newline/>
                   <group  expand='0' string='Group by...' groups="base.group_extended">
                       <filter string='External Referential' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'referential_id'}" />
                       <!--<filter string='Object Related' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'sync_from_object_id'}" />-->
                   </group>
                </search>
            </field>
        </record>

        <!-- External Report History -->
		<record id="external_report_history_form_view" model="ir.ui.view">
			<field name="name">external_report_history_view</field>
			<field name="model">external.report.history</field>
			<field name="type">form</field>
			<field name="arch" type="xml">
				<form string="External Report History">
                    <field name="report_id" invisible="not context.get('main_view')"/>
                    <field name="start_date"/>
                    <field name="end_date"/>
                    <field name="count_failed"/>
                    <field name="count_success"/>
                    <field name="user_id"/>
				</form>
			</field>
		</record>

		<record id="external_report_history_tree_view" model="ir.ui.view">
			<field name="name">external_report_history_tree_view</field>
			<field name="model">external.report.history</field>
			<field name="type">tree</field>
			<field name="arch" type="xml">
				<tree string="External Report History">
                    <field name="report_id" invisible="not context.get('main_view')"/>
                    <field name="start_date"/>
                    <field name="end_date"/>
                    <field name="count_failed"/>
                    <field name="count_success"/>
                    <field name="user_id"/>
				</tree>
			</field>
		</record>

        <record id="external_report_history_search_view" model="ir.ui.view">
            <field name="name">external_report_history_search_view</field>
            <field name="model">external.report.history</field>
            <field name="type">search</field>
            <field name="arch" type="xml">
                <search string="External Report History">
                   <filter string="Success" icon="terp-accessories-archiver" domain="[('state','=','success')]"/>
                   <filter string="Failures" icon="terp-accessories-archiver" domain="[('state','=','fail')]"/>
                   <separator orientation="vertical"/>
                   <field name="report_id"/>
                   <field name="start_date"/>
                   <field name="end_date"/>
                   <field name="user_id"/>
                   <newline/>
                   <group  expand='0' string='Group by...' groups="base.group_extended">
                       <filter string='Report' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'report_id'}" />
                       <filter string='Date' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'start_date'}" />
                   </group>
                </search>
            </field>
        </record>

        <record id="external_report_line_search_view" model="ir.ui.view">
            <field name="name">external_report_line_search_view</field>
            <field name="model">external.report.line</field>
            <field name="type">search</field>
            <field name="arch" type="xml">
                <search string="External Report History">
                   <filter string="Success" icon="terp-accessories-archiver" domain="[('state','=','success')]"/>
                   <filter string="Failures" icon="terp-accessories-archiver" domain="[('state','=','fail')]"/>
                   <separator orientation="vertical"/>
                   <field name="report_id"/>
                   <field name="date"/>
                   <field name="action_on"/>
                   <field name="action"/>
                   <field name="state"/>
                   <newline/>
                   <group  expand='0' string='Group by...' groups="base.group_extended">
                       <filter string='Report' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'report_id'}" />
                       <filter string='Date' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'date'}" />
                       <filter string='Action On Model' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'action_on'}" />
                       <filter string='Action' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'action'}" />
                   </group>
                </search>
            </field>
        </record>

        <!-- External Report Line -->
		<record id="external_report_line_form_view" model="ir.ui.view">
			<field name="name">external_report_line_form_view</field>
			<field name="model">external.report.line</field>
			<field name="type">form</field>
			<field name="arch" type="xml">
				<form string="External Report Line">
                    <field name="report_id" invisible="not context.get('main_view')"/>
                    <field name="action_on"/>
                    <field name="res_id"/>
                    <field name="external_id"/>
                    <field name="action"/>
                    <field name="date"/>
                    <field name="state"/>
                    <separator string="External Data" colspan="4"/>
                        <field name="resource_text" colspan="4" nolabel="1"/>
                    <separator colspan="4"/>
                    <button name="retry" string="Retry" icon="gtk-go-forward" type="object" colspan="2"/>
				</form>
			</field>
		</record>

		<record id="external_report_line_tree_view" model="ir.ui.view">
			<field name="name">external_report_line_tree_view</field>
			<field name="model">external.report.line</field>
			<field name="type">tree</field>
			<field name="arch" type="xml">
				<tree colors="red:state=='fail'" string="External Report Lines">
                    <field name="report_id" invisible="not context.get('main_view')"/>
                    <field name="state"/>
                    <field name="action_on"/>
                    <field name="action"/>
                    <field name="date"/>
                    <field name="res_id"/>
                    <field name="external_id"/>
                    <field name="error_message"/>
                    <button name="retry" string="Retry" icon="gtk-go-forward" type="object" colspan="2"/>
				</tree>
			</field>
		</record>

    </data>
</openerp><commit_msg>[MERGE]<commit_after><?xml version="1.0" encoding="utf-8"?>
<openerp>
	<data>

        <!-- External Report -->
		<record id="external_report_form_view" model="ir.ui.view">
			<field name="name">external_report_form_view</field>
			<field name="model">external.report</field>
			<field name="type">form</field>
			<field name="arch" type="xml">
				<form string="External Referential Reports">
                    <field name="name"/>
                    <newline/>
                    <field name="action"/>
                    <field name="action_on"/>
                    <field name="sync_from_object_model"/>
                    <field name="sync_from_object_id"/>
                    <field name="referential_id"/>
                    <newline/>
                    <field name="failed_line_ids" nolabel="1" colspan="4"/>
                    <button name="retry_failed_lines" string="Retry All Failed" icon="gtk-go-forward" type="object" colspan="2"/>
                    <button name="delete_failed_lines" string="Delete All Failed" icon="gtk-cancel" type="object" colspan="2"/>
                    <newline/>
                    <field name="history_ids" nolabel="1" colspan="4"/>
				</form>
			</field>
		</record>

		<record id="external_report_tree_view" model="ir.ui.view">
			<field name="name">external_report_tree_view</field>
			<field name="model">external.report</field>
			<field name="type">tree</field>
			<field name="arch" type="xml">
				<tree string="External Reports" colors="red:failed_line_ids">
                    <field name="referential_id"/>
                    <field name="name"/>
                    <field name="sync_from_object_model"/>
                    <field name="sync_from_object_id"/>
                    <field name="failed_line_ids" invisible="1"/>
				</tree>
			</field>
		</record>

        <record id="external_report_search_form_view" model="ir.ui.view">
            <field name="name">external_report_search_view</field>
            <field name="model">external.report</field>
            <field name="type">search</field>
            <field name="arch" type="xml">
                <search string="External Referential Reports">
                   <field name="name"/>
                   <field name="referential_id"/>
                   <newline/>
                   <group  expand='0' string='Group by...' groups="base.group_extended">
                       <filter string='External Referential' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'referential_id'}" />
                       <!--<filter string='Object Related' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'sync_from_object_id'}" />-->
                   </group>
                </search>
            </field>
        </record>

        <!-- External Report History -->
		<record id="external_report_history_form_view" model="ir.ui.view">
			<field name="name">external_report_history_view</field>
			<field name="model">external.report.history</field>
			<field name="type">form</field>
			<field name="arch" type="xml">
				<form string="External Report History">
                    <field name="report_id" invisible="not context.get('main_view')"/>
                    <field name="start_date"/>
                    <field name="end_date"/>
                    <field name="count_failed"/>
                    <field name="count_success"/>
                    <field name="user_id"/>
				</form>
			</field>
		</record>

		<record id="external_report_history_tree_view" model="ir.ui.view">
			<field name="name">external_report_history_tree_view</field>
			<field name="model">external.report.history</field>
			<field name="type">tree</field>
			<field name="arch" type="xml">
				<tree string="External Report History">
                    <field name="report_id" invisible="not context.get('main_view')"/>
                    <field name="start_date"/>
                    <field name="end_date"/>
                    <field name="count_failed"/>
                    <field name="count_success"/>
                    <field name="user_id"/>
				</tree>
			</field>
		</record>

        <record id="external_report_history_search_view" model="ir.ui.view">
            <field name="name">external_report_history_search_view</field>
            <field name="model">external.report.history</field>
            <field name="type">search</field>
            <field name="arch" type="xml">
                <search string="External Report History">
                   <filter string="Success" icon="terp-accessories-archiver" domain="[('state','=','success')]"/>
                   <filter string="Failures" icon="terp-accessories-archiver" domain="[('state','=','fail')]"/>
                   <separator orientation="vertical"/>
                   <field name="report_id"/>
                   <field name="start_date"/>
                   <field name="end_date"/>
                   <field name="user_id"/>
                   <newline/>
                   <group  expand='0' string='Group by...' groups="base.group_extended">
                       <filter string='Report' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'report_id'}" />
                       <filter string='Date' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'start_date'}" />
                   </group>
                </search>
            </field>
        </record>

        <record id="external_report_line_search_view" model="ir.ui.view">
            <field name="name">external_report_line_search_view</field>
            <field name="model">external.report.line</field>
            <field name="type">search</field>
            <field name="arch" type="xml">
                <search string="External Report History">
                   <filter string="Success" icon="terp-accessories-archiver" domain="[('state','=','success')]"/>
                   <filter string="Failures" icon="terp-accessories-archiver" domain="[('state','=','fail')]"/>
                   <separator orientation="vertical"/>
                   <field name="report_id"/>
                   <field name="date"/>
                   <field name="action_on"/>
                   <field name="action"/>
                   <field name="state"/>
                   <newline/>
                   <group  expand='0' string='Group by...' groups="base.group_extended">
                       <filter string='Report' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'report_id'}" />
                       <filter string='Date' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'date'}" />
                       <filter string='Action On Model' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'action_on'}" />
                       <filter string='Action' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'action'}" />
                   </group>
                </search>
            </field>
        </record>

        <!-- External Report Line -->
		<record id="external_report_line_form_view" model="ir.ui.view">
			<field name="name">external_report_line_form_view</field>
			<field name="model">external.report.line</field>
			<field name="type">form</field>
			<field name="arch" type="xml">
				<form string="External Report Line">
                    <field name="report_id" invisible="not context.get('main_view')"/>
                    <field name="action_on"/>
                    <field name="res_id"/>
                    <field name="external_id"/>
                    <field name="action"/>
                    <field name="date"/>
                    <field name="state"/>
                    <separator string="Error Message" colspan="4"/>
                        <field name="error_message" colspan="4" nolabel="1"/>
                    <separator string="External Data" colspan="4"/>
                        <field name="resource_text" colspan="4" nolabel="1"/>
                    <separator colspan="4"/>
                    <button name="retry" string="Retry" icon="gtk-go-forward" type="object" colspan="2"/>
				</form>
			</field>
		</record>

		<record id="external_report_line_tree_view" model="ir.ui.view">
			<field name="name">external_report_line_tree_view</field>
			<field name="model">external.report.line</field>
			<field name="type">tree</field>
			<field name="arch" type="xml">
				<tree colors="red:state=='fail'" string="External Report Lines">
                    <field name="report_id" invisible="not context.get('main_view')"/>
                    <field name="state"/>
                    <field name="action_on"/>
                    <field name="action"/>
                    <field name="date"/>
                    <field name="res_id"/>
                    <field name="external_id"/>
                    <field name="error_message"/>
                    <button name="retry" string="Retry" icon="gtk-go-forward" type="object" colspan="2"/>
				</tree>
			</field>
		</record>

    </data>
</openerp>
{'fraction_non_alphanumeric': 0.1612170250498781, 'fraction_numerical': 0.0022722234537796496, 'mean_word_length': 2.0798771121351765, 'pattern_counts': {'":': 0, '<': 407, '<?xml version=': 2, '>': 407, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 20}, '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': '1357298', 'n_tokens_mistral': 5235, 'n_tokens_neox': 4763, 'n_words': 879}