From eef2d08903914e0eeba9f42abb84a6cff3aa15d8 Mon Sep 17 00:00:00 2001 From: Ryan Cole Date: Wed, 31 Jul 2024 10:52:33 +1200 Subject: [PATCH] [MIG] users_ldap_populate: Migrate to 17.0 --- users_ldap_populate/__manifest__.py | 3 ++- users_ldap_populate/views/users_ldap.xml | 2 +- users_ldap_populate/wizards/populate_wizard.py | 4 ++-- users_ldap_populate/wizards/populate_wizard.xml | 4 ++-- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/users_ldap_populate/__manifest__.py b/users_ldap_populate/__manifest__.py index a62e04c5a2..2920e3372b 100644 --- a/users_ldap_populate/__manifest__.py +++ b/users_ldap_populate/__manifest__.py @@ -2,9 +2,10 @@ # Copyright 2021 Tecnativa - João Marques # Copyright 2023 Tecnativa - Carolina Fernandez # License AGPL-3.0 or later (http://www.gnu.org/licenses/gpl.html). + { "name": "LDAP Populate", - "version": "16.0.1.0.0", + "version": "17.0.1.0.0", "author": "Therp BV, Odoo Community Association (OCA)", "maintainers": ["joao-p-marques"], "website": "https://github.com/OCA/server-auth", diff --git a/users_ldap_populate/views/users_ldap.xml b/users_ldap_populate/views/users_ldap.xml index 42d88a553c..602b67ae48 100644 --- a/users_ldap_populate/views/users_ldap.xml +++ b/users_ldap_populate/views/users_ldap.xml @@ -10,7 +10,7 @@ diff --git a/users_ldap_populate/wizards/populate_wizard.py b/users_ldap_populate/wizards/populate_wizard.py index 442b63b81a..1205071a62 100644 --- a/users_ldap_populate/wizards/populate_wizard.py +++ b/users_ldap_populate/wizards/populate_wizard.py @@ -10,8 +10,8 @@ class CompanyLDAPPopulateWizard(models.TransientModel): name = fields.Char(size=16) ldap_id = fields.Many2one("res.company.ldap", "LDAP Configuration") - users_created = fields.Integer("Number of users created", readonly=True) - users_deactivated = fields.Integer("Number of users deactivated", readonly=True) + users_created = fields.Integer("Number of users created") + users_deactivated = fields.Integer("Number of users deactivated") @api.model_create_multi def create(self, vals_list): diff --git a/users_ldap_populate/wizards/populate_wizard.xml b/users_ldap_populate/wizards/populate_wizard.xml index 7f7ff9864a..f6b692908e 100644 --- a/users_ldap_populate/wizards/populate_wizard.xml +++ b/users_ldap_populate/wizards/populate_wizard.xml @@ -5,8 +5,8 @@
- - + +