Skip to content

Commit

Permalink
[MIG] users_ldap_groups: Migrate to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanc-me committed Jul 30, 2024
1 parent 77f4195 commit 8dde183
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion users_ldap_groups/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
# Copyright 2021 Tecnativa - João Marques
# Copyright 2023 Tecnativa - Carolina Fernandez
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "LDAP groups assignment",
"version": "16.0.1.0.0",
"version": "17.0.1.0.0",
"depends": ["auth_ldap"],
"author": "Therp BV, " "Odoo Community Association (OCA)",
"website": "https://github.com/OCA/server-auth",
Expand Down
3 changes: 2 additions & 1 deletion users_ldap_groups/views/res_company_ldap_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
<tree editable="bottom">
<field
name="ldap_attribute"
attrs="{'required': [('operator','not in',['query'])], 'readonly': [('operator','in',['query'])]}"
required="operator != 'query'"
readonly="operator == 'query'"
/>
<field name="operator" />
<field name="value" />
Expand Down

0 comments on commit 8dde183

Please sign in to comment.