<?xml version="1.0"?>
<terp>
<data>
	<record model="ir.ui.view" id="view_edi_log_line">
		<field name="name">edi.log.line.tree</field>
		<field name="model">edi.log.line</field>
		<field name="type">tree</field>
		<field name="arch" type="xml">
			<tree>
				<field name="order_num"/>
				<field name="timestamp"/>
				<field name="sender"/>
				<field name="logdesc"/>
			</tree>
		</field>
	</record>

	<record model="ir.ui.view" id="view_edi_tree">
		<field name="name">edi.log.tree</field>
		<field name="model">edi.log</field>
		<field name="type">tree</field>
		<field name="arch" type="xml">
			<tree string="EDI Logs">
				<field name="name"/>
			</tree>
		</field>
	</record>

	<record model="ir.ui.view" id="view_edi_form">
		<field name="name">edi.log.form</field>
		<field name="model">edi.log</field>
		<field name="type">form</field>
		<field name="arch" type="xml">
			<form string="EDI Logs">
				<field name="name" select="1"/>
				<newline/>
				<field name="log_line" widget="one2many_list" colspan="4" nolabel="1"/>
			</form>
		</field>
	</record>
	<record model="ir.actions.act_window" id="action_edi_tree">
		<field name="name">edi.log.form</field>
		<field name="type">ir.actions.act_window</field>
		<field name="res_model">edi.log</field>
		<field name="view_type">form</field>
		<field name="view_mode">tree,form</field>
		<field name="view_id" eval="False" />
	</record>
	<menuitem name="EDI/View Logs" action="action_edi_tree" id="menu_edi_log"/>

</data>
</terp>
