From 84eef96cc643dc00293627e412fbaed61513b04b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=BE=D1=80=D0=BE=D0=B1=D1=8C=D0=B5=D0=B2=20=D0=94?= =?UTF-8?q?=D0=B0=D0=BD=D0=B8=D0=BB=20=D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B5?= =?UTF-8?q?=D0=B2=D0=B8=D1=87?= Date: Tue, 28 May 2024 17:34:57 +0300 Subject: [PATCH] odoo links deleted --- README.md | 2 +- __manifest__.py | 2 +- data/mail_templates_email_layouts.xml | 4 ++-- static/tests/core/search_highlight_test.js | 12 ++++++------ static/tests/discuss_app/discuss_tests.js | 2 +- static/tests/message/link_preview_test.js | 14 +++++++------- 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index d8f7bba..2ef7cd1 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Odoo Enterprise Social Network ------------------------------ Connect with experts, follow what interests you, share documents and promote -best practices withTalismanEnterprise Social Network. Get work done with +best practices withTalismanEnterprise Social Network. Get work done with effective collaboration across departments, geographies, documents and business applications. All of this while decreasing email overload. diff --git a/__manifest__.py b/__manifest__.py index e60645f..a5055aa 100644 --- a/__manifest__.py +++ b/__manifest__.py @@ -58,7 +58,7 @@ same *conversation* document. For more specific needs, you may also assign custom-defined actions (technically: Server Actions) to be triggered for each incoming mail. """, - 'website': 'https://www.odoo.com/app/discuss', + 'website': '#', 'depends': ['base', 'base_setup', 'bus', 'web_tour'], 'data': [ 'data/mail_groups.xml', diff --git a/data/mail_templates_email_layouts.xml b/data/mail_templates_email_layouts.xml index 2792d92..c43974e 100644 --- a/data/mail_templates_email_layouts.xml +++ b/data/mail_templates_email_layouts.xml @@ -101,7 +101,7 @@

- Powered by Odoo | Unfollow @@ -175,7 +175,7 @@ - Powered by Odoo | Unfollow diff --git a/static/tests/core/search_highlight_test.js b/static/tests/core/search_highlight_test.js index cd8a80a..22d47a6 100644 --- a/static/tests/core/search_highlight_test.js +++ b/static/tests/core/search_highlight_test.js @@ -17,18 +17,18 @@ QUnit.test("Search highlight", async (assert) => { searchTerm: "odoo", }, { - input: 'https://www.odoo.com', - output: `https://www.odoo.com`, + input: 'https://www.odoo.com', + output: `https://www.odoo.com`, searchTerm: "odoo", }, { - input: 'Odoo', - output: `Odoo`, + input: 'Odoo', + output: `Odoo`, searchTerm: "odoo", }, { - input: 'OdooTalismanis a free software', - output: `Odoo Odoo is a free software`, + input: 'OdooTalismanis a free software', + output: `Odoo Odoo is a free software`, searchTerm: "odoo", }, { diff --git a/static/tests/discuss_app/discuss_tests.js b/static/tests/discuss_app/discuss_tests.js index 2f516fa..83805f6 100644 --- a/static/tests/discuss_app/discuss_tests.js +++ b/static/tests/discuss_app/discuss_tests.js @@ -144,7 +144,7 @@ QUnit.test("Posting message should transform links.", async () => { openDiscuss(channelId); await insertText(".o-mail-Composer-input", "test https://www.odoo.com/"); await click(".o-mail-Composer-send:enabled"); - await contains("a[href='https://www.odoo.com/']"); + await contains("a[href='#']"); }); QUnit.test("Posting message should transform relevant data to emoji.", async () => { diff --git a/static/tests/message/link_preview_test.js b/static/tests/message/link_preview_test.js index 1103254..c2d5c29 100644 --- a/static/tests/message/link_preview_test.js +++ b/static/tests/message/link_preview_test.js @@ -60,7 +60,7 @@ QUnit.test("simplest card layout", async () => { og_description: "Description", og_title: "Article title", og_type: "article", - source_url: "https://www.odoo.com", + source_url: "#", }); const channelId = pyEnv["discuss.channel"].create({ name: "wololo" }); pyEnv["mail.message"].create({ @@ -84,7 +84,7 @@ QUnit.test("simplest card layout with image", async () => { og_image: "https://c.tenor.com/B_zYdea4l-4AAAAC/yay-minions.gif", og_title: "Article title", og_type: "article", - source_url: "https://www.odoo.com", + source_url: "#", }); const channelId = pyEnv["discuss.channel"].create({ name: "wololo" }); pyEnv["mail.message"].create({ @@ -109,7 +109,7 @@ QUnit.test("Link preview video layout", async () => { og_image: "https://c.tenor.com/B_zYdea4l-4AAAAC/yay-minions.gif", og_title: "video title", og_type: "video.other", - source_url: "https://www.odoo.com", + source_url: "#", }); const channelId = pyEnv["discuss.channel"].create({ name: "wololo" }); pyEnv["mail.message"].create({ @@ -179,7 +179,7 @@ QUnit.test("Remove link preview card", async () => { og_description: "Description", og_title: "Article title", og_type: "article", - source_url: "https://www.odoo.com", + source_url: "#", }); const channelId = pyEnv["discuss.channel"].create({ name: "wololo" }); pyEnv["mail.message"].create({ @@ -204,7 +204,7 @@ QUnit.test("Remove link preview video", async () => { og_image: "https://c.tenor.com/B_zYdea4l-4AAAAC/yay-minions.gif", og_title: "video title", og_type: "video.other", - source_url: "https://www.odoo.com", + source_url: "#", }); const channelId = pyEnv["discuss.channel"].create({ name: "wololo" }); pyEnv["mail.message"].create({ @@ -300,7 +300,7 @@ QUnit.test( og_description: "Description", og_title: "Article title", og_type: "article", - source_url: "https://www.odoo.com", + source_url: "#", }); const channelId = pyEnv["discuss.channel"].create({ name: "wololo" }); pyEnv["mail.message"].create({ @@ -356,7 +356,7 @@ QUnit.test("Delete all link previews at once", async () => { og_description: "Description", og_title: "Article title 1", og_type: "article", - source_url: "https://www.odoo.com", + source_url: "#", }, { image_mimetype: "image/jpg",