-
Notifications
You must be signed in to change notification settings - Fork 0
/
user_ldap_installer.xml
50 lines (47 loc) · 2.11 KB
/
user_ldap_installer.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
<openerp>
<data>
<!-- ldap installer Form View -->
<record model="ir.ui.view" id="view_ldap_installer_form">
<field name="name">ldap.installer.form</field>
<field name="model">res.company.ldap</field>
<field name="arch" type="xml">
<form string="LDAP Configuration">
<group>
<field name="company"/>
<newline/>
<group string="Server Information">
<field name="ldap_server"/>
<field name="ldap_server_port"/>
<field name="ldap_tls"/>
</group>
<group string="Login Information">
<field name="ldap_binddn"/>
<field name="ldap_password"/>
</group>
<group string="Process Parameter">
<field name="ldap_base"/>
<field name="ldap_filter"/>
<field name="sequence"/>
</group>
<group string="User Information">
<field name="create_user"/>
<field name="user"/>
</group>
</group>
</form>
</field>
</record>
<!-- ldap installer action -->
<record id="action_ldap_installer" model="ir.actions.act_window">
<field name="name">Setup your LDAP Server</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">res.company.ldap</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="view_id" ref="view_ldap_installer_form"/>
</record>
<record id="config_wizard_action_ldap_installer" model="ir.actions.todo">
<field name="action_id" ref="action_ldap_installer"/>
</record>
</data>
</openerp>