1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<!-- Import C43 file wizard -->
<record model="ir.ui.view" id="c43_file_import_wizard">
<field name="name">l10n.es.bank.statement.c43.import.form</field>
<field name="model">l10n.es.bank.statement.import.c43.wizard</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Bank statements import according to norm C43">
<group colspan="4">
<label string="Bank Statements File:"/>
<newline/>
<field name="file_name" nolabel="1"/>
<field name="file" filename="file_name" nolabel="1"/>
</group>
<group colspan="4" col="1">
<separator string="Automatic reconciliation options"/>
<field name="reco_reference_and_amount"/>
<field name="reco_vat_and_amount"/>
<field name="reco_amount"/>
<field name="reco_payment_order"/>
<field name="reco_rules"/>
<field name="reco_max_days"/>
</group>
<button icon="gtk-cancel" special="cancel" string="Cancel" type="object"/>
<button icon="gtk-ok" name="import_action" string="Import" type="object"/>
</form>
</field>
</record>
<record id="action_c43_file_import_wizard" model="ir.actions.act_window">
<field name="name">Import C43 Files Wizard</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">l10n.es.bank.statement.import.c43.wizard</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
<act_window id="action_c43_file_import_wizard"
key2="client_action_multi" name="Import Bank Statement"
res_model="l10n.es.bank.statement.import.c43.wizard" src_model="account.bank.statement"
view_mode="form" target="new" view_type="form" groups="account.group_account_manager"/>
</data>
</openerp>
|