[FIX] auth_ldap: missing model description

Missing model description produces a warning when the module is installed

closes odoo/odoo#28047
This commit is contained in:
Robot Odoo
2018-10-23 13:22:31 +02:00
committed by GitHub
3 changed files with 21 additions and 6 deletions
+5 -6
View File
@@ -30,6 +30,11 @@ msgstr ""
msgid "Company"
msgstr ""
#. module: auth_ldap
#: model:ir.model,name:auth_ldap.model_res_company_ldap
msgid "Company LDAP configuration"
msgstr ""
#. module: auth_ldap
#: model:ir.model,name:auth_ldap.model_res_config_settings
msgid "Config Settings"
@@ -192,9 +197,3 @@ msgstr ""
#: model:ir.model,name:auth_ldap.model_res_users
msgid "Users"
msgstr ""
#. module: auth_ldap
#: model:ir.model,name:auth_ldap.model_res_company_ldap
msgid "res.company.ldap"
msgstr ""
@@ -14,6 +14,7 @@ _logger = logging.getLogger(__name__)
class CompanyLDAP(models.Model):
_name = 'res.company.ldap'
_description = 'Company LDAP configuration'
_order = 'sequence'
_rec_name = 'ldap_server'
+15
View File
@@ -0,0 +1,15 @@
Estonia, 23 OCT 2018
Brainbean Apps OU agrees to the terms of the Odoo Corporate Contributor License
Agreement v1.0.
I declare that I am authorized and able to make this agreement and sign this
declaration.
Signed,
Oleksii Pelykh <alexey@brainbeanapps.com> https://github.com/alexey-pelykh
List of contributors:
Alexey Pelykh <alexey@brainbeanapps.com> https://github.com/alexey-pelykh