Skip to content

Commit edff5d7

Browse files
committed
[FIX] *: various random small fixes
1 parent 9e3a93c commit edff5d7

File tree

37 files changed

+38
-21
lines changed

37 files changed

+38
-21
lines changed

addons/html_builder/static/src/builder.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
<button type="button" t-on-click="() => this.redo()" class="btn btn-secondary fa fa-repeat" t-att-disabled="!state.canRedo"/>
1010
</div>
1111
<div class="d-flex">
12-
<div class="mt-2" title="Mysterious Egg">
13-
<!-- remove this before merge, otherwise people will see this egg -->
14-
<svg width="1.1em" height="1.5em" viewBox="0 0 100 140" xmlns="http://www.w3.org/2000/svg"><ellipse cx="50" cy="80" rx="40" ry="55" fill="#F4E1C6" stroke="#E0C4A8" stroke-width="4"/></svg>
15-
</div>
1612
<button t-on-click="onMobilePreviewClick" type="button" class="btn btn-secondary" data-action="mobile" title="Mobile Preview" accesskey="v"><span class="fa fa-mobile"/></button>
1713
<button type="button" t-on-click="discard" class="btn btn-secondary" data-action="cancel" title="Tip: Esc to preview" accesskey="j">Discard</button>
1814
<button type="button" t-on-click="save" class="btn btn-primary" data-action="save" accesskey="s">Save</button>

addons/mail/push-to-talk-extension/content.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
const EXT_ID = "mdiacebcbkmjjlpclnbcgiepgifcnpmg";
55

66
chrome.runtime.onMessage.addListener(function (request, sender) {
7-
if (sender.id === EXT_ID) {
7+
if (location.origin !== "null" && sender.id === EXT_ID) {
88
window.postMessage(request, location.origin);
99
}
1010
});

addons/mail/static/src/discuss/call/common/ptt_extension_service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export const pttExtensionHookService = {
9393
return;
9494
}
9595
const version = parseVersion(await versionPromise);
96-
if (!location.origin) {
96+
if (location.origin === "null") {
9797
return;
9898
}
9999
if (version.isLowerThan("1.0.0.2")) {

addons/mail/tests/discuss/test_ui.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from odoo import Command
55
from odoo.addons.base.tests.common import HttpCaseWithUserDemo
66

7+
78
@odoo.tests.tagged('post_install', '-at_install')
89
class TestUi(HttpCaseWithUserDemo):
910

addons/mass_mailing_sms/tests/test_mailing_ui.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
from odoo.tests import HttpCase, tagged, users
44

5+
56
@tagged('post_install', '-at_install', 'mail_activity')
67
class TestMailingUi(HttpCase):
78

addons/project_todo/tests/test_todo_ui.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
from odoo.addons.base.tests.common import HttpCaseWithUserDemo
66
import unittest
77

8+
89
@tagged('post_install', '-at_install')
910
class TestTodoUi(HttpCaseWithUserDemo):
1011

addons/survey/tests/test_survey_ui_certification.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
from odoo.addons.base.tests.common import HttpCaseWithUserDemo
66
import unittest
77

8+
89
# TODO master-mysterious-egg fix error
910
@unittest.skip("prepare mysterious-egg for merging")
1011
@odoo.tests.common.tagged('post_install', '-at_install')

addons/survey/tests/test_survey_ui_feedback.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
from odoo.addons.base.tests.common import HttpCaseWithUserDemo
66
import unittest
77

8+
89
# TODO master-mysterious-egg fix error
910
@unittest.skip("prepare mysterious-egg for merging")
1011
@odoo.tests.common.tagged('post_install', '-at_install')

addons/test_website/tests/test_custom_snippet.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
from odoo.tools import mute_logger
66
import unittest
77

8+
89
# TODO master-mysterious-egg fix error
910
@unittest.skip("prepare mysterious-egg for merging")
1011
@odoo.tests.common.tagged('post_install', '-at_install')

addons/test_website/tests/test_form.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
from odoo.tests import tagged, HttpCase
44
import unittest
55

6+
67
# TODO master-mysterious-egg fix error
78
@unittest.skip("prepare mysterious-egg for merging")
89
@tagged('-at_install', 'post_install')

0 commit comments

Comments
 (0)