diff --git a/__unported__/users_ldap_populate/model/__init__.py b/__unported__/users_ldap_populate/model/__init__.py deleted file mode 100644 index 1fa6a8664..000000000 --- a/__unported__/users_ldap_populate/model/__init__.py +++ /dev/null @@ -1,2 +0,0 @@ -import users_ldap -import populate_wizard diff --git a/__unported__/users_ldap_populate/__init__.py b/users_ldap_populate/__init__.py similarity index 100% rename from __unported__/users_ldap_populate/__init__.py rename to users_ldap_populate/__init__.py diff --git a/__unported__/users_ldap_populate/__openerp__.py b/users_ldap_populate/__openerp__.py similarity index 91% rename from __unported__/users_ldap_populate/__openerp__.py rename to users_ldap_populate/__openerp__.py index 1906addce..07bd03048 100644 --- a/__unported__/users_ldap_populate/__openerp__.py +++ b/users_ldap_populate/__openerp__.py @@ -24,8 +24,8 @@ "author": "Therp BV", "category": 'Tools', "description": """ -This module allows to prepopulate the user database with all entries in the LDAP -database. +This module allows to prepopulate the user database with all entries in the +LDAP database. In order to schedule the population of the user database on a regular basis, create a new scheduled action with the following properties: @@ -34,8 +34,8 @@ create a new scheduled action with the following properties: - Function: action_populate - Arguments: [res.company.ldap.id] -Substitute res.company.ldap.id with the actual id of the res.company.ldap object you want to query. - +Substitute res.company.ldap.id with the actual id of the res.company.ldap +object you want to query. """, "depends": [ 'auth_ldap', @@ -44,6 +44,5 @@ Substitute res.company.ldap.id with the actual id of the res.company.ldap object 'view/users_ldap.xml', 'view/populate_wizard.xml', ], - 'installable': False, + 'installable': True, } -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/__unported__/users_ldap_populate/i18n/nl.po b/users_ldap_populate/i18n/nl.po similarity index 100% rename from __unported__/users_ldap_populate/i18n/nl.po rename to users_ldap_populate/i18n/nl.po diff --git a/__unported__/users_ldap_populate/i18n/users_ldap_populate.pot b/users_ldap_populate/i18n/users_ldap_populate.pot similarity index 100% rename from __unported__/users_ldap_populate/i18n/users_ldap_populate.pot rename to users_ldap_populate/i18n/users_ldap_populate.pot diff --git a/users_ldap_populate/model/__init__.py b/users_ldap_populate/model/__init__.py new file mode 100644 index 000000000..a925c6082 --- /dev/null +++ b/users_ldap_populate/model/__init__.py @@ -0,0 +1,2 @@ +from . import users_ldap +from . import populate_wizard diff --git a/__unported__/users_ldap_populate/model/populate_wizard.py b/users_ldap_populate/model/populate_wizard.py similarity index 97% rename from __unported__/users_ldap_populate/model/populate_wizard.py rename to users_ldap_populate/model/populate_wizard.py index ea1ea4ac9..24a7dd264 100644 --- a/__unported__/users_ldap_populate/model/populate_wizard.py +++ b/users_ldap_populate/model/populate_wizard.py @@ -19,7 +19,7 @@ # ############################################################################## -from osv import orm, fields +from openerp.osv import orm, fields class CompanyLDAPPopulateWizard(orm.TransientModel): diff --git a/__unported__/users_ldap_populate/model/users_ldap.py b/users_ldap_populate/model/users_ldap.py similarity index 100% rename from __unported__/users_ldap_populate/model/users_ldap.py rename to users_ldap_populate/model/users_ldap.py diff --git a/__unported__/users_ldap_populate/view/populate_wizard.xml b/users_ldap_populate/view/populate_wizard.xml similarity index 82% rename from __unported__/users_ldap_populate/view/populate_wizard.xml rename to users_ldap_populate/view/populate_wizard.xml index 008869558..766e49f6d 100644 --- a/__unported__/users_ldap_populate/view/populate_wizard.xml +++ b/users_ldap_populate/view/populate_wizard.xml @@ -5,8 +5,8 @@ Add populate button to ldap view res.company.ldap.populate_wizard -
- + +