|
|
@ -1,27 +1,23 @@ |
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
<openerp> |
|
|
|
<data> |
|
|
|
<odoo> |
|
|
|
|
|
|
|
<record id="ofx_bank_journal" model="account.journal"> |
|
|
|
<field name="name">Bank Journal - (test ofx)</field> |
|
|
|
<field name="code">TBNKOFX</field> |
|
|
|
<field name="type">bank</field> |
|
|
|
<field name="sequence_id" ref="account.sequence_bank_journal"/> |
|
|
|
<field name="default_debit_account_id" ref="account.usd_bnk"/> |
|
|
|
<field name="default_credit_account_id" ref="account.usd_bnk"/> |
|
|
|
<field name="user_id" ref="base.user_root"/> |
|
|
|
<field name="currency" ref="base.USD"/> |
|
|
|
</record> |
|
|
|
<!-- <record id="ofx_sequence" model="ir.sequence">--> |
|
|
|
<!-- <field name="name">Bank Journal - (test ofx)</field>--> |
|
|
|
<!-- <field name="prefix">OFX/%(range_year)s/</field>--> |
|
|
|
<!-- <field name="implementation">no_gap</field>--> |
|
|
|
<!-- <field name="padding">4</field>--> |
|
|
|
<!-- <field name="use_date_range">1</field>--> |
|
|
|
<!-- </record>--> |
|
|
|
|
|
|
|
<record id="ofx_company_bank" model="res.partner.bank"> |
|
|
|
<field name="owner_name">Your Company</field> |
|
|
|
<field name="acc_number">123456</field> |
|
|
|
<field name="partner_id" ref="base.partner_root"></field> |
|
|
|
<field name="company_id" ref="base.main_company"></field> |
|
|
|
<field name="journal_id" ref="ofx_bank_journal"></field> |
|
|
|
<field name="state">bank</field> |
|
|
|
<field name="bank" ref="base.res_bank_1"/> |
|
|
|
</record> |
|
|
|
</data> |
|
|
|
|
|
|
|
</openerp> |
|
|
|
<!-- <record id="ofx_bank_journal" model="account.journal">--> |
|
|
|
<!-- <field name="name">Bank Journal - (test ofx)</field>--> |
|
|
|
<!-- <field name="bank_acc_number">123456</field>--> |
|
|
|
<!-- <field name="code">TBNKOFX</field>--> |
|
|
|
<!-- <field name="type">bank</field>--> |
|
|
|
<!-- <field name="sequence_id" ref="ofx_sequence"/>--> |
|
|
|
<!-- <field name="user_id" ref="base.user_root"/>--> |
|
|
|
<!-- <field name="currency_id" ref="base.USD"/>--> |
|
|
|
<!-- </record>--> |
|
|
|
|
|
|
|
</odoo> |