flectra/addons/account_bank_statement_import/wizard/journal_creation.xml
2018-01-16 02:34:37 -08:00

33 lines
1.6 KiB
XML

<?xml version="1.0" ?>
<flectra>
<data>
<record id="account_bank_statement_import_journal_creation_view" model="ir.ui.view">
<field name="name">Journal Creation</field>
<field name="model">account.bank.statement.import.journal.creation</field>
<field name="arch" type="xml">
<form string="Journal Creation">
<p>The account of the statement you are importing is not yet recorded in Flectra. In order to proceed with the import, you need to create a bank journal for this account.</p>
<p>Just click OK to create the account/journal and finish the import. If this was a mistake, hit cancel to abort the import.</p>
<group>
<group>
<field name="name" string="Bank Journal Name"/>
<field name="bank_acc_number" readonly="1"/>
<field name="bank_id"/>
</group>
<group>
<field name="currency_id" readonly="1" groups="base.group_multi_currency"/>
<field name="company_id" groups="base.group_multi_company"/>
</group>
</group>
<footer>
<button name="create_journal" string="OK" type="object" class="btn-primary"/>
<button string="Cancel" class="btn-default" special="cancel"/>
</footer>
</form>
</field>
</record>
</data>
</flectra>