From 0d0ae53b8201f91e4a657ec33d5f3b916a780297 Mon Sep 17 00:00:00 2001 From: Markus Kirch <91124391+markuskirch@users.noreply.github.com> Date: Sun, 24 Sep 2023 12:26:46 +0200 Subject: [PATCH] added _description to insta_feed_snippet, in order to clear the logs --- insta_feed_snippet/models/insta_post.py | 1 + insta_feed_snippet/models/insta_profile.py | 1 + 2 files changed, 2 insertions(+) diff --git a/insta_feed_snippet/models/insta_post.py b/insta_feed_snippet/models/insta_post.py index caf4bcd5b..d1d20f3d0 100644 --- a/insta_feed_snippet/models/insta_post.py +++ b/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") diff --git a/insta_feed_snippet/models/insta_profile.py b/insta_feed_snippet/models/insta_profile.py index ebf589fd1..66b9d2d5f 100644 --- a/insta_feed_snippet/models/insta_profile.py +++ b/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")