forked from OCA/server-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
users_ldap_groups.xml
27 lines (25 loc) · 1.15 KB
/
users_ldap_groups.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
<?xml version="1.0"?>
<openerp>
<data>
<record model="ir.ui.view" id="company_form_view">
<field name="name">res.company.form.inherit.users_ldap_groups</field>
<field name="model">res.company</field>
<field name="inherit_id" ref="auth_ldap.company_form_view"/>
<field name="arch" type="xml">
<xpath expr="//form[@string='LDAP Configuration']" position="inside">
<group string="Map User Groups" >
<field name="only_ldap_groups" />
<field name="group_mappings" colspan="4" nolabel="1">
<tree editable="top">
<field name="ldap_attribute" attrs="{'required': [('operator','not in',['query'])], 'readonly': [('operator','in',['query'])]}" />
<field name="operator" />
<field name="value" />
<field name="group" />
</tree>
</field>
</group>
</xpath>
</field>
</record>
</data>
</openerp>