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


	<record model="res.bank" id="partner_bank">
		<field name="name">Fortis s.a.</field>
		<field name="clearing">123456</field>
	</record>

	<record model="res.partner.bank" id="agro_bank">
		<field name="name">Fortis account</field>
		<field name="acc_number">123456</field>
		<field name="partner_id" ref="base.res_partner_agrolait"/>
		<field name="state">bvrbank</field>
		<field name="bvr_number">234567</field>
		<field name="bank" ref="partner_bank"/>
		<field name="iban">CH9100767000S00023455</field>
	</record>

	<record model="res.partner.bank" id="main_bank">
		<field name="name">My bank</field>
		<field name="acc_number">123456</field>
		<field name="iban">123456</field>
		<field name="partner_id" ref="base.main_partner"/>
		<field name="state">dta_company</field>
		<field name="bank" ref="partner_bank"/>
		<field name="iban">CH9100767000S00023455</field>
	</record>

	<record model="account.invoice" id="v11_invoice">
		<field name="name">V11 invoice</field>
		<field name="amount_total">54150</field>
		<field name="number">1</field>
		<field name="partner_id" ref="base.res_partner_agrolait"/>
		<field name="address_invoice_id" ref="base.res_partner_address_8"/>
		<field name="account_id" ref="account.a_recv"/>
		<field name="currency_id" ref="base.EUR"/>
		<field name="company_id" ref="base.main_partner"/>
	</record>
	<record model="account.invoice.line" id="v11_invoice_line">
		<field name="name">Dummy product</field>
		<field name="price_unit">54150</field>
		<field name="quantity">1</field>
		<field name="account_id" ref="account.a_sale"/>
		<field name="invoice_id" ref="v11_invoice"/>
	</record>


	<record model="account.journal" id="account.sales_journal">
		<field name="default_debit_account_id" ref="account.a_recv"/>
	</record>




  <!-- Define a payment mode -->
  <record model="payment.mode" id="payment_mode_dta">
	<field name="name">DTA</field>
	<field name="type" ref="payment_type_dta"/>
	<field name="bank_id" ref="main_bank"/>
	<field name="journal" model="account.journal" search="[('type','=','cash')]"/>
  </record>

</data>
</openerp>
