Description: odoo
Commit: odoo:06aa822a  
Subject: [FIX] html_editor: ensure text visibility when setting background color
Author: Walid (wasa)
Committer: Walid (wasa)
Commit: odoo-crm:fca521d0  
Subject: Merge pull request #576 from canadadrives/dev
Author: Vishal Patel
Committer: GitHub
Version: master
Config: Install and run
Build time: 45m
Wait time: 45m
Load time: 45m
Date Level Type Message
2025-03-05 23:34:09 INFO runbot Init build environment with config Install and run
2025-03-05 23:34:09 Starting step base from config Install and run
2025-03-05 23:34:09 Using Dockerfile Tag odoo:Docker17
2025-03-05 23:34:31 WARNING server odoo.modules.module:350 The module auditlog has an incompatible version, setting installable=False
2025-03-05 23:34:31 WARNING server odoo.modules.module:350 The module auth_oauth_okta has an incompatible version, setting installable=False
2025-03-05 23:34:31 WARNING server odoo.modules.module:350 The module auth_oauth_okta_profile has an incompatible version, setting installable=False
2025-03-05 23:34:31 WARNING server odoo.modules.module:350 The module aws_connector has an incompatible version, setting installable=False
2025-03-05 23:34:31 WARNING server odoo.modules.module:350 The module bloom_data_sync has an incompatible version, setting installable=False
2025-03-05 23:34:31 WARNING server odoo.modules.module:350 The module crm_agent_actions has an incompatible version, setting installable=False
2025-03-05 23:34:31 WARNING server odoo.modules.module:350 The module crm_auditlog has an incompatible version, setting installable=False
2025-03-05 23:34:31 WARNING server odoo.modules.module:350 The module crm_banking has an incompatible version, setting installable=False
2025-03-05 23:34:31 WARNING server odoo.modules.module:350 The module crm_case_management has an incompatible version, setting installable=False
2025-03-05 23:34:31 WARNING server odoo.modules.module:350 The module crm_common_utils has an incompatible version, setting installable=False
2025-03-05 23:34:31 WARNING server odoo.modules.module:350 The module crm_credit_report has an incompatible version, setting installable=False
2025-03-05 23:34:31 WARNING server odoo.modules.module:350 The module crm_documents has an incompatible version, setting installable=False
2025-03-05 23:34:31 WARNING server odoo.modules.module:350 The module crm_dup_check has an incompatible version, setting installable=False
2025-03-05 23:34:31 WARNING server odoo.modules.module:350 The module crm_econtract has an incompatible version, setting installable=False
2025-03-05 23:34:31 WARNING server odoo.modules.module:350 The module crm_iterable_email_trigger has an incompatible version, setting installable=False
2025-03-05 23:34:31 WARNING server odoo.modules.module:350 The module crm_loan_management has an incompatible version, setting installable=False
2025-03-05 23:34:31 WARNING server odoo.modules.module:350 The module crm_loanpro_integration has an incompatible version, setting installable=False
2025-03-05 23:34:31 WARNING server odoo.modules.module:350 The module crm_note has an incompatible version, setting installable=False
2025-03-05 23:34:31 WARNING server odoo.modules.module:350 The module crm_partner_decision has an incompatible version, setting installable=False
2025-03-05 23:34:31 WARNING server odoo.modules.module:350 The module crm_reporting has an incompatible version, setting installable=False
2025-03-05 23:34:31 WARNING server odoo.modules.module:350 The module crm_spring has an incompatible version, setting installable=False
2025-03-05 23:34:31 WARNING server odoo.modules.module:350 The module crm_spring_api_connect has an incompatible version, setting installable=False
2025-03-05 23:34:31 WARNING server odoo.modules.module:350 The module crm_spring_polling has an incompatible version, setting installable=False
2025-03-05 23:34:31 WARNING server odoo.modules.module:350 The module crm_trustpilot_integration has an incompatible version, setting installable=False
2025-03-05 23:34:31 WARNING server odoo.modules.module:350 The module distribution_engine has an incompatible version, setting installable=False
2025-03-05 23:34:31 WARNING server odoo.modules.module:350 The module dup_check has an incompatible version, setting installable=False
2025-03-05 23:34:31 WARNING server odoo.modules.module:350 The module econtract has an incompatible version, setting installable=False
2025-03-05 23:34:31 WARNING server odoo.modules.module:314 Missing `author` key in manifest for 'iterable_email_marketing', defaulting to ''
2025-03-05 23:34:31 WARNING server odoo.modules.module:350 The module iterable_email_marketing has an incompatible version, setting installable=False
2025-03-05 23:34:31 WARNING server odoo.modules.module:350 The module ks_access_manager_ninja has an incompatible version, setting installable=False
2025-03-05 23:34:31 WARNING server odoo.modules.module:350 The module ks_access_manager_ninja_extend has an incompatible version, setting installable=False
2025-03-05 23:34:32 WARNING server odoo.modules.module:350 The module note has an incompatible version, setting installable=False
2025-03-05 23:34:32 WARNING server odoo.modules.module:350 The module queue_job has an incompatible version, setting installable=False
2025-03-05 23:34:32 WARNING server odoo.modules.module:350 The module queue_job_cron has an incompatible version, setting installable=False
2025-03-05 23:34:32 WARNING server odoo.modules.module:350 The module queue_job_subscribe has an incompatible version, setting installable=False
2025-03-05 23:34:32 WARNING server odoo.modules.module:350 The module session_redis has an incompatible version, setting installable=False
2025-03-05 23:34:32 WARNING server odoo.modules.module:350 The module sf_multi_env_support has an incompatible version, setting installable=False
2025-03-05 23:34:32 WARNING server odoo.modules.module:314 Missing `author` key in manifest for 'sf_slack_alert', defaulting to ''
2025-03-05 23:34:32 WARNING server odoo.modules.module:350 The module sf_slack_alert has an incompatible version, setting installable=False
2025-03-05 23:34:33 WARNING server odoo.modules.module:350 The module web_refresher has an incompatible version, setting installable=False
2025-03-05 23:34:33 WARNING server odoo.modules.module:350 The module web_responsive has an incompatible version, setting installable=False
2025-03-05 23:34:46 INFO server odoo.modules.loading:329 1 modules loaded in 13.52s, 9104 queries (+9104 extra)
2025-03-05 23:34:53 INFO server odoo.modules.loading:329 13 modules loaded in 5.76s, 4176 queries (+4176 extra)
2025-03-05 23:34:55 INFO runbot Getting results for build 01894-master
2025-03-05 23:34:55 Step base finished in 45s
2025-03-05 23:34:55 Starting step Install_crm from config Install and run
2025-03-05 23:34:55 Using Dockerfile Tag odoo:Docker17
2025-03-05 23:35:02 WARNING server odoo.modules.module:350 The module auditlog has an incompatible version, setting installable=False
2025-03-05 23:35:02 WARNING server odoo.modules.module:350 The module auth_oauth_okta has an incompatible version, setting installable=False
2025-03-05 23:35:02 WARNING server odoo.modules.module:350 The module auth_oauth_okta_profile has an incompatible version, setting installable=False
2025-03-05 23:35:02 WARNING server odoo.modules.module:350 The module aws_connector has an incompatible version, setting installable=False
2025-03-05 23:35:02 WARNING server odoo.modules.module:350 The module bloom_data_sync has an incompatible version, setting installable=False
2025-03-05 23:35:02 WARNING server odoo.modules.module:350 The module crm_agent_actions has an incompatible version, setting installable=False
2025-03-05 23:35:02 WARNING server odoo.modules.module:350 The module crm_auditlog has an incompatible version, setting installable=False
2025-03-05 23:35:02 WARNING server odoo.modules.module:350 The module crm_banking has an incompatible version, setting installable=False
2025-03-05 23:35:02 WARNING server odoo.modules.module:350 The module crm_case_management has an incompatible version, setting installable=False
2025-03-05 23:35:02 WARNING server odoo.modules.module:350 The module crm_common_utils has an incompatible version, setting installable=False
2025-03-05 23:35:02 WARNING server odoo.modules.module:350 The module crm_credit_report has an incompatible version, setting installable=False
2025-03-05 23:35:02 WARNING server odoo.modules.module:350 The module crm_documents has an incompatible version, setting installable=False
2025-03-05 23:35:02 WARNING server odoo.modules.module:350 The module crm_dup_check has an incompatible version, setting installable=False
2025-03-05 23:35:02 WARNING server odoo.modules.module:350 The module crm_econtract has an incompatible version, setting installable=False
2025-03-05 23:35:02 WARNING server odoo.modules.module:350 The module crm_iterable_email_trigger has an incompatible version, setting installable=False
2025-03-05 23:35:02 WARNING server odoo.modules.module:350 The module crm_loan_management has an incompatible version, setting installable=False
2025-03-05 23:35:02 WARNING server odoo.modules.module:350 The module crm_loanpro_integration has an incompatible version, setting installable=False
2025-03-05 23:35:02 WARNING server odoo.modules.module:350 The module crm_note has an incompatible version, setting installable=False
2025-03-05 23:35:02 WARNING server odoo.modules.module:350 The module crm_partner_decision has an incompatible version, setting installable=False
2025-03-05 23:35:02 WARNING server odoo.modules.module:350 The module crm_reporting has an incompatible version, setting installable=False
2025-03-05 23:35:02 WARNING server odoo.modules.module:350 The module crm_spring has an incompatible version, setting installable=False
2025-03-05 23:35:02 WARNING server odoo.modules.module:350 The module crm_spring_api_connect has an incompatible version, setting installable=False
2025-03-05 23:35:02 WARNING server odoo.modules.module:350 The module crm_spring_polling has an incompatible version, setting installable=False
2025-03-05 23:35:02 WARNING server odoo.modules.module:350 The module crm_trustpilot_integration has an incompatible version, setting installable=False
2025-03-05 23:35:02 WARNING server odoo.modules.module:350 The module distribution_engine has an incompatible version, setting installable=False
2025-03-05 23:35:02 WARNING server odoo.modules.module:350 The module dup_check has an incompatible version, setting installable=False
2025-03-05 23:35:02 WARNING server odoo.modules.module:350 The module econtract has an incompatible version, setting installable=False
2025-03-05 23:35:02 WARNING server odoo.modules.module:314 Missing `author` key in manifest for 'iterable_email_marketing', defaulting to ''
2025-03-05 23:35:02 WARNING server odoo.modules.module:350 The module iterable_email_marketing has an incompatible version, setting installable=False
2025-03-05 23:35:02 WARNING server odoo.modules.module:350 The module ks_access_manager_ninja has an incompatible version, setting installable=False
2025-03-05 23:35:02 WARNING server odoo.modules.module:350 The module ks_access_manager_ninja_extend has an incompatible version, setting installable=False
2025-03-05 23:35:03 WARNING server odoo.modules.module:350 The module note has an incompatible version, setting installable=False
2025-03-05 23:35:03 WARNING server odoo.modules.module:350 The module queue_job has an incompatible version, setting installable=False
2025-03-05 23:35:03 WARNING server odoo.modules.module:350 The module queue_job_cron has an incompatible version, setting installable=False
2025-03-05 23:35:03 WARNING server odoo.modules.module:350 The module queue_job_subscribe has an incompatible version, setting installable=False
2025-03-05 23:35:03 WARNING server odoo.modules.module:350 The module session_redis has an incompatible version, setting installable=False
2025-03-05 23:35:03 WARNING server odoo.modules.module:350 The module sf_multi_env_support has an incompatible version, setting installable=False
2025-03-05 23:35:03 WARNING server odoo.modules.module:314 Missing `author` key in manifest for 'sf_slack_alert', defaulting to ''
2025-03-05 23:35:03 WARNING server odoo.modules.module:350 The module sf_slack_alert has an incompatible version, setting installable=False
2025-03-05 23:35:03 WARNING server odoo.modules.module:350 The module web_refresher has an incompatible version, setting installable=False
2025-03-05 23:35:03 WARNING server odoo.modules.module:350 The module web_responsive has an incompatible version, setting installable=False
2025-03-05 23:36:56 INFO server odoo.modules.loading:329 1 modules loaded in 112.55s, 9104 queries (+33252 extra)
2025-03-05 23:39:23 INFO server odoo.modules.loading:329 43 modules loaded in 146.24s, 21583 queries (+102255 extra)
2025-03-05 23:39:24 INFO server odoo.addons.base.models.ir_qweb:329 Pregenerating assets bundles
2025-03-05 23:39:56 INFO server odoo.addons.base.tests.test_http_case.TestChromeBrowser.test_screencasts:329 Screencast frames in: /data/build/tests/01894-master-Install_crm/screencasts/failed_screencast_20250305_233956_632816
2025-03-05 23:42:38 INFO server odoo.addons.web.tests.test_js.WebSuite.test_hoot.browser:1427 [HOOT] passed 163 tests (743 assertions, total time: 00:00:02)
2025-03-05 23:43:12 INFO server odoo.addons.web.tests.test_js.WebSuite.test_qunit_desktop.browser:1427 QUnit: passed 248 tests (1108 assertions), took 33s
2025-03-05 23:50:59 ERROR server odoo.addons.web.tests.test_js.WebSuite.test_unit_desktop.browser:1427
[HOOT] Test "@html_editor/color/should apply color with default text color on block when applying background color" failed:

Failed assertion:

1. [toBe] (testEditor) Editor content, after clean is strictly equal to "<table><tbody><tr><td style="background-color: rgb(255, 0, 0); color: rgb(55, 65, 81);">[ab</td></tr><tr><td style="background-color: rgb(255, 0, 0); color: rgb(55, 65, 81);">cd]</td></tr></tbody></table>"
> Expected: '<table><tbody><tr><td style="background-color: rgb(255, 0, 0); color: rgb(55, 65, 81);">[ab</td></tr><tr><td style="background-color: rgb(255, 0, 0); color: rgb(55, 65, 81);">cd]</td></tr></tbody></table>'
> Received: '<table><tbody><tr><td style="background-color: rgb(255, 0, 0); color: rgb(73, 80, 87);">[ab</td></tr><tr><td style="background-color: rgb(255, 0, 0); color: rgb(73, 80, 87);">cd]</td></tr></tbody></table>'
2025-03-05 23:50:59 ERROR server odoo.addons.web.tests.test_js.WebSuite.test_unit_desktop.browser:1427
[HOOT] Test "@html_editor/color/should not apply background color on an uneditable selected cell in a table" failed:

Failed assertion:

1. [toBe] (testEditor) Editor content, after clean is strictly equal to "<table><tbody><tr><td style="background-color: rgb(255, 0, 0); color: rgb(55, 65, 81);">[ab</td></tr><tr><td contenteditable="false">cd</td></tr><tr><td style="background-color: rgb(255, 0, 0); color: rgb(55, 65, 81);">ef]</td></tr></tbody></table>"
> Expected: '<table><tbody><tr><td style="background-color: rgb(255, 0, 0); color: rgb(55, 65, 81);">[ab</td></tr><tr><td contenteditable="false">cd</td></tr><tr><td style="background-color: rgb(255, 0, 0); color: rgb(55, 65, 81);">ef]</td></tr></tbody></table>'
> Received: '<table><tbody><tr><td style="background-color: rgb(255, 0, 0); color: rgb(73, 80, 87);">[ab</td></tr><tr><td contenteditable="false">cd</td></tr><tr><td style="background-color: rgb(255, 0, 0); color: rgb(73, 80, 87);">ef]</td></tr></tbody></table>'
2025-03-05 23:51:02 ERROR server odoo.addons.web.tests.test_js.WebSuite.test_unit_desktop.browser:1427
[HOOT] Test "@html_editor/color_selector/color preview/should preview color in table on hover in solid tab" failed:

Failed assertion:

1. [toBe] expected values to be strictly equal
> Expected: '
            <table class="table table-bordered o_table o_selected_table">
                <tbody>
                    <tr>
                        <td class="" style="background-color: rgb(206, 0, 0); color: rgb(55, 65, 81);">
                            <p>[<br></p>
                        </td>
                    </tr>
                    <tr>
                        <td class="" style="background-color: rgb(206, 0, 0); color: rgb(55, 65, 81);">
                            <p>]<br></p>
                        </td>
                    </tr>
                </tbody>
            </table>
        '
> Received: '
            <table class="table table-bordered o_table o_selected_table">
                <tbody>
                    <tr>
                        <td class="" style="background-color: rgb(206, 0, 0); color: rgb(73, 80, 87);">
                            <p>[<br></p>
                        </td>
                    </tr>
                    <tr>
                        <td class="" style="background-color: rgb(206, 0, 0); color: rgb(73, 80, 87);">
                            <p>]<br></p>
                        </td>
                    </tr>
                </tbody>
            </table>
        '
2025-03-05 23:51:02 ERROR server odoo.addons.web.tests.test_js.WebSuite.test_unit_desktop.browser:1427
[HOOT] Test "@html_editor/color_selector/color preview/should preview color in table on hover in custom tab" failed:

Failed assertion:

1. [toBe] expected values to be strictly equal
> Expected: '
            <table class="table table-bordered o_table o_selected_table">
                <tbody>
                    <tr>
                        <td class="bg-black" style="color: rgb(55, 65, 81);">
                            <p>[<br></p>
                        </td>
                    </tr>
                    <tr>
                        <td class="bg-black" style="color: rgb(55, 65, 81);">
                            <p>]<br></p>
                        </td>
                    </tr>
                </tbody>
            </table>
        '
> Received: '
            <table class="table table-bordered o_table o_selected_table">
                <tbody>
                    <tr>
                        <td class="bg-black" style="color: rgb(73, 80, 87);">
                            <p>[<br></p>
                        </td>
                    </tr>
                    <tr>
                        <td class="bg-black" style="color: rgb(73, 80, 87);">
                            <p>]<br></p>
                        </td>
                    </tr>
                </tbody>
            </table>
        '
2025-03-05 23:59:47 INFO server odoo.addons.web.tests.test_js.WebSuite.test_unit_desktop.browser:1427 [HOOT] failed 4 tests (9536 passed, total time: 00:16:31)
2025-03-05 23:59:47 ERROR server odoo.addons.web.tests.test_js.WebSuite.test_unit_desktop.browser:1427
Some tests failed: see above for details
Failed tests link: http://127.0.0.1:8069/web/tests?headless=&loglevel=2&preset=desktop&timeout=15000&test=0c8260d2&test=2f977e81&test=fb1ab395&test=d1288611
2025-03-05 23:59:48 INFO server odoo.addons.web.tests.test_js.WebSuite.test_unit_desktop:329 Screenshot in: /data/build/tests/01894-master-Install_crm/screenshots/sc_20250305_235948_576914_WebSuite.png
2025-03-05 23:59:48 INFO server odoo.addons.web.tests.test_js.WebSuite.test_unit_desktop:329 Screenshot in: /data/build/tests/01894-master-Install_crm/screenshots/sc_20250305_235948_630425_WebSuite.png
2025-03-05 23:59:48 ERROR server odoo.addons.web.tests.test_js:39
FAIL: WebSuite.test_unit_desktop
Traceback (most recent call last):
  File "/data/build/odoo/addons/web/tests/test_js.py", line 39, in test_unit_desktop
    self.browser_js('/web/tests?headless&loglevel=2&preset=desktop&timeout=15000', "", "", login='admin', timeout=1800, success_signal="[HOOT] test suite succeeded", error_checker=unit_test_error_checker)
  File "/data/build/odoo/odoo/tests/common.py", line 2126, in browser_js
    self.fail('%s\n\n%s' % (message, error))
AssertionError: Some js test failed

Some tests failed: see above for details
Failed tests link: http://127.0.0.1:8069/web/tests?headless=&loglevel=2&preset=desktop&timeout=15000&test=0c8260d2&test=2f977e81&test=fb1ab395&test=d1288611
2025-03-06 00:04:22 ERROR server odoo.addons.web.tests.test_js.MobileWebSuite.test_unit_mobile.browser:1427
[HOOT] Test "@html_editor/color/should apply color with default text color on block when applying background color" failed:

Failed assertion:

1. [toBe] (testEditor) Editor content, after clean is strictly equal to "<table><tbody><tr><td style="background-color: rgb(255, 0, 0); color: rgb(55, 65, 81);">[ab</td></tr><tr><td style="background-color: rgb(255, 0, 0); color: rgb(55, 65, 81);">cd]</td></tr></tbody></table>"
> Expected: '<table><tbody><tr><td style="background-color: rgb(255, 0, 0); color: rgb(55, 65, 81);">[ab</td></tr><tr><td style="background-color: rgb(255, 0, 0); color: rgb(55, 65, 81);">cd]</td></tr></tbody></table>'
> Received: '<table><tbody><tr><td style="background-color: rgb(255, 0, 0); color: rgb(73, 80, 87);">[ab</td></tr><tr><td style="background-color: rgb(255, 0, 0); color: rgb(73, 80, 87);">cd]</td></tr></tbody></table>'
2025-03-06 00:04:22 ERROR server odoo.addons.web.tests.test_js.MobileWebSuite.test_unit_mobile.browser:1427
[HOOT] Test "@html_editor/color/should not apply background color on an uneditable selected cell in a table" failed:

Failed assertion:

1. [toBe] (testEditor) Editor content, after clean is strictly equal to "<table><tbody><tr><td style="background-color: rgb(255, 0, 0); color: rgb(55, 65, 81);">[ab</td></tr><tr><td contenteditable="false">cd</td></tr><tr><td style="background-color: rgb(255, 0, 0); color: rgb(55, 65, 81);">ef]</td></tr></tbody></table>"
> Expected: '<table><tbody><tr><td style="background-color: rgb(255, 0, 0); color: rgb(55, 65, 81);">[ab</td></tr><tr><td contenteditable="false">cd</td></tr><tr><td style="background-color: rgb(255, 0, 0); color: rgb(55, 65, 81);">ef]</td></tr></tbody></table>'
> Received: '<table><tbody><tr><td style="background-color: rgb(255, 0, 0); color: rgb(73, 80, 87);">[ab</td></tr><tr><td contenteditable="false">cd</td></tr><tr><td style="background-color: rgb(255, 0, 0); color: rgb(73, 80, 87);">ef]</td></tr></tbody></table>'
2025-03-06 00:07:55 INFO server odoo.addons.web.tests.test_js.MobileWebSuite.test_unit_mobile.browser:1427 [HOOT] failed 2 tests (6003 passed, total time: 00:08:05)
2025-03-06 00:07:55 ERROR server odoo.addons.web.tests.test_js.MobileWebSuite.test_unit_mobile.browser:1427
Some tests failed: see above for details
Failed tests link: http://127.0.0.1:8069/web/tests?headless=&loglevel=2&preset=mobile&timeout=15000&test=0c8260d2&test=2f977e81
2025-03-06 00:07:56 INFO server odoo.addons.web.tests.test_js.MobileWebSuite.test_unit_mobile:329 Screenshot in: /data/build/tests/01894-master-Install_crm/screenshots/sc_20250306_000756_204562_MobileWebSuite.png
2025-03-06 00:07:56 INFO server odoo.addons.web.tests.test_js.MobileWebSuite.test_unit_mobile:329 Screenshot in: /data/build/tests/01894-master-Install_crm/screenshots/sc_20250306_000756_218521_MobileWebSuite.png
2025-03-06 00:07:56 ERROR server odoo.addons.web.tests.test_js:102
FAIL: MobileWebSuite.test_unit_mobile
Traceback (most recent call last):
  File "/data/build/odoo/addons/web/tests/test_js.py", line 102, in test_unit_mobile
    self.browser_js('/web/tests?headless&loglevel=2&preset=mobile&tag=-headless&timeout=15000', "", "", login='admin', timeout=1800, success_signal="[HOOT] test suite succeeded", error_checker=unit_test_error_checker)
  File "/data/build/odoo/odoo/tests/common.py", line 2126, in browser_js
    self.fail('%s\n\n%s' % (message, error))
AssertionError: Some js test failed

Some tests failed: see above for details
Failed tests link: http://127.0.0.1:8069/web/tests?headless=&loglevel=2&preset=mobile&timeout=15000&test=0c8260d2&test=2f977e81
2025-03-06 00:19:11 ERROR server odoo.tests.result:669 2 failed, 0 error(s) of 1967 tests when loading database '01894-master-Install_crm'
2025-03-06 00:19:26 INFO runbot Getting results for build 01894-master
2025-03-06 00:19:26 Step Install_crm finished in 44m
2025-03-06 00:19:26 Starting step run from config Install and run
2025-03-06 00:19:26 INFO runbot Start running build 01894-master
2025-03-06 00:19:26 Using Dockerfile Tag odoo:Docker17
2025-03-06 00:19:31 INFO server odoo.modules.loading:329 1 modules loaded in 0.01s, 0 queries (+0 extra)
2025-03-06 00:19:32 INFO server odoo.modules.loading:329 13 modules loaded in 0.61s, 0 queries (+0 extra)
2025-03-06 12:22:00 INFO runbot Kill build 01894-master