diff --git a/users_ldap_groups/__openerp__.py b/users_ldap_groups/__openerp__.py index 57c80035b..b530c6996 100644 --- a/users_ldap_groups/__openerp__.py +++ b/users_ldap_groups/__openerp__.py @@ -21,7 +21,7 @@ { "name": "Groups assignment", - "version": "1.2", + "version": "1.2.1", "depends": ["auth_ldap"], "author": "Therp BV,Odoo Community Association (OCA)", "description": """ diff --git a/users_ldap_groups/users_ldap_groups.py b/users_ldap_groups/users_ldap_groups.py index 4e2b3ecbf..74a0b338a 100644 --- a/users_ldap_groups/users_ldap_groups.py +++ b/users_ldap_groups/users_ldap_groups.py @@ -80,7 +80,7 @@ class CompanyLDAP(orm.Model): 'groups are preserved.') } - _default = { + _defaults = { 'only_ldap_groups': False, }