Browse Source
added _description to insta_feed_snippet, in order to clear the logs
pull/278/head
Markus Kirch
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
0 deletions
-
insta_feed_snippet/models/insta_post.py
-
insta_feed_snippet/models/insta_profile.py
|
|
@ -6,6 +6,7 @@ from odoo.exceptions import UserError |
|
|
|
|
|
|
|
class InstaPost(models.Model): |
|
|
|
_name = 'insta.post' |
|
|
|
_description = 'Instagram Post' |
|
|
|
|
|
|
|
name = fields.Char(string="Media ID") |
|
|
|
caption = fields.Char("Caption") |
|
|
|
|
|
@ -7,6 +7,7 @@ from odoo.exceptions import UserError |
|
|
|
|
|
|
|
class InstaProfile(models.Model): |
|
|
|
_name = 'insta.profile' |
|
|
|
_description = 'Instagram Profile' |
|
|
|
|
|
|
|
name = fields.Char(string="Name", readonly=True) |
|
|
|
access_token = fields.Char("Access Token") |
|
|
|