Skip to content

Commit

Permalink
[MIG] base_search_mail_content: Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea committed Jun 12, 2023
1 parent 907fc45 commit 0e66448
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion base_search_mail_content/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

{
"name": "Base Search Mail Content",
"version": "15.0.1.0.1",
"version": "16.0.1.0.1",
"author": "ForgeFlow, SerpentCS, Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/social",
"category": "Social",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ def test_base_search_mail_content_1(self):
self.assertFalse(res, "You have a channel with xxxyyyzzz :O")

def test_base_search_mail_content_2(self):
res = self.channel_obj.load_views(
res = self.channel_obj.get_views(
[[False, "search"]],
{"load_fields": False, "load_filters": True, "toolbar": True},
)
self.assertIn(
"message_content",
res["fields_views"]["search"]["fields"],
res["models"]["mail.channel"],
"message_content field was not detected",
)

0 comments on commit 0e66448

Please sign in to comment.