Browse Source
[ADD] model description
add model description for allowed.ips (odoo.sh warning message)
pull/200/head
Khalid Hazam
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
access_restriction_by_ip/models/allowed_ips.py
|
|
@ -28,6 +28,7 @@ class ResUsersInherit(models.Model): |
|
|
|
|
|
|
|
class AllowedIPs(models.Model): |
|
|
|
_name = 'allowed.ips' |
|
|
|
_description = 'Allowed IPs' |
|
|
|
|
|
|
|
users_ip = fields.Many2one('res.users', string='IP') |
|
|
|
ip_address = fields.Char(string='Allowed IP') |
|
|
|