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
parent
commit
0d0ae53b82
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      insta_feed_snippet/models/insta_post.py
  2. 1
      insta_feed_snippet/models/insta_profile.py

1
insta_feed_snippet/models/insta_post.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")

1
insta_feed_snippet/models/insta_profile.py

@ -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")

Loading…
Cancel
Save