Markus Kirch
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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): |
|
|
class InstaPost(models.Model): |
|
|
_name = 'insta.post' |
|
|
_name = 'insta.post' |
|
|
|
|
|
_description = 'Instagram Post' |
|
|
|
|
|
|
|
|
name = fields.Char(string="Media ID") |
|
|
name = fields.Char(string="Media ID") |
|
|
caption = fields.Char("Caption") |
|
|
caption = fields.Char("Caption") |
|
|
|
@ -7,6 +7,7 @@ from odoo.exceptions import UserError |
|
|
|
|
|
|
|
|
class InstaProfile(models.Model): |
|
|
class InstaProfile(models.Model): |
|
|
_name = 'insta.profile' |
|
|
_name = 'insta.profile' |
|
|
|
|
|
_description = 'Instagram Profile' |
|
|
|
|
|
|
|
|
name = fields.Char(string="Name", readonly=True) |
|
|
name = fields.Char(string="Name", readonly=True) |
|
|
access_token = fields.Char("Access Token") |
|
|
access_token = fields.Char("Access Token") |
|
|