<?xml version="1.0"?>
<terp>
	<data>

		<record model="ir.ui.view" id="account_analytic_line_to_invoice_view_form">
			<field name="name">report.account.analytic.line.to.invoice</field>
			<field name="model">report.account.analytic.line.to.invoice</field>
			<field name="type">form</field>
			<field name="arch" type="xml">
				<tree string="Analytic lines to invoice per month, product and analytic account">
					<field name="name" select="1"/>
					<field name="account_id" select="1"/>
					<newline/>
					<field name="product_id" select="1"/>
					<field name="product_uom_id"/>
					<newline/>
					<field name="amount" colspan="1"/>
					<field name="unit_amount" colspan="1"/>
				</tree>
			</field>
		</record>

		<record model="ir.ui.view" id="account_analytic_line_to_invoice_view_tree">
			<field name="name">report.account.analytic.line.to.invoice</field>
			<field name="model">report.account.analytic.line.to.invoice</field>
			<field name="type">tree</field>
			<field name="arch" type="xml">
				<tree string="Analytic lines to invoice per month, product and analytic account">
					<field name="name"/>
					<field name="product_id"/>
					<field name="account_id"/>
					<field name="amount"/>
					<field name="unit_amount"/>
					<field name="product_uom_id"/>
				</tree>
			</field>
		</record>

		<record model="ir.actions.act_window" id="action_account_analytic_line_to_invoice">
			<field name="name">report.account.analytic.line.tree</field>
			<field name="res_model">report.account.analytic.line.to.invoice</field>
			<field name="view_type">form</field>
			<field name="view_mode">tree</field>
		</record>
		<menuitem name="Financial Management/Entries/Analytic lines to invoice" id="account_analytic_lines_to_invoice_report" action="action_account_analytic_line_to_invoice" />

	</data>
</terp>
