<?xml version="1.0" encoding="utf-8"?>
<order-list>
	<date type="function" name="today"/>
	<order type="fields" name="id">
		<name type="field" name="name"/>
		<id type="field" name="id"/>
		<date_due/>
		<date_order type="field" name="date_order"/>
		<state type="field" name="state"/>
		<notes type="field" name="note"/>

		<order_to>
			<corporation type="zoom" name="partner_id">
				<title type="field" name="title"/>
				<name type="field" name="name"/>
				<vat type="field" name="vat"/>
			</corporation>
			<contact type="zoom" name="partner_order_id">
				<title type="field" name="title"/>
				<name type="field" name="name"/>
				<phone type="field" name="phone"/>
				<street type="field" name="street"/>
				<zip type="field" name="zip"/>
				<city type="field" name="city"/>
				<state type="field" name="state_id.name"/>
				<country type="field" name="country_id.name"/>
			</contact>
		</order_to>
		<order-lines>
			<order-line type="zoom" name="order_line">
				<product type="field" name="name"/>
				<quantity type="field" name="product_uom_qty"/>
				<date_promise type="field" name="date_planned"/>
				<price_unit type="field" name="price_unit"/>
				<product_total_price type="eval" expr="record.product_uom_qty *
					record.price_unit"/>
				<notes type="field" name="notes"/>
			</order-line>
		</order-lines>
	</order>
</order-list>
