forked from OCA/l10n-italy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configurazione_view.xml
50 lines (49 loc) · 2.57 KB
/
configurazione_view.xml
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
48
49
50
<?xml version="1.0"?>
<openerp>
<data>
<!-- ====================================================== -->
<!-- CONFIGURAZIONE RIBA FORM -->
<!-- ====================================================== -->
<record model="ir.ui.view" id="view_riba_configurazione_form">
<field name="name">riba.configurazione.form</field>
<field name="model">riba.configurazione</field>
<field name="arch" type="xml">
<form string="Ri.Ba. - Configurazione">
<field name="name" />
<field name="tipo" />
<field name="bank_id" />
<field name="company_id" widget="selection" groups="base.group_multi_company"/>
<group string="Salvo buon fine" attrs="{'invisible': [('tipo','!=','sbf')]}" colspan="4" col="4">
<separator colspan="4" string="Acceptance"/>
<field name="acceptance_journal_id" attrs="{'required':[('tipo','=','sbf')]}"/>
<field name="acceptance_account_id" attrs="{'required':[('tipo','=','sbf')]}"/>
<separator colspan="4" string="Accreditation"/>
<field name="accreditation_journal_id" />
<field name="accreditation_account_id"/>
<field name="bank_account_id" />
<field name="bank_expense_account_id" />
<separator colspan="4" string="Unsolved"/>
<field name="unsolved_journal_id" />
<field name="overdue_effects_account_id" />
<field name="protest_charge_account_id" />
</group>
</form>
</field>
</record>
<!-- ====================================================== -->
<!-- CONFIGURAZIONE RIBA ACTION -->
<!-- ====================================================== -->
<record model="ir.actions.act_window" id="action_riba_configurazione">
<field name="name">Ri.Ba. - Configuration</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">riba.configurazione</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
<!--field name="view_id" ref="view_riba_configurazione_form"/-->
</record>
<!-- ====================================================== -->
<!-- CONFIGURAZIONE RIBA MENU -->
<!-- ====================================================== -->
<menuitem action="action_riba_configurazione" id="menu_riba_configurazione" name="Ri.Ba. Configuration" parent="account.menu_configuration_misc"/>
</data>
</openerp>