Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

Hello everyone,

if we create a new branch on development, we get this error:

2024-05-13 10:56:22,384 4 ERROR database odoo.addons.website.tests.test_assets: FAIL: TestWebAssets.test_ensure_correct_website_asset
Traceback (most recent call last):
  File "/home/odoo/src/odoo/addons/website/tests/test_assets.py", line 248, in test_ensure_correct_website_asset
    self.assertEqual(
AssertionError: Lists differ: ['/web/assets/2/f7ee451/web.assets_frontend.min.js'] != ['/web/assets/2/05cf006/web.assets_frontend.min.js']

First differing element 0:
'/web/assets/2/f7ee451/web.assets_frontend.min.js'
'/web/assets/2/05cf006/web.assets_frontend.min.js'

- ['/web/assets/2/f7ee451/web.assets_frontend.min.js']
?                  ^^^^^^

+ ['/web/assets/2/05cf006/web.assets_frontend.min.js']
?                 +++ ^^^
: Only the website asset is expected to be present

We've only added one website theme; otherwise, we're using Odoo in its default settings and haven't added any other extras.

Any ideas how to fix this? On Staging and Production the test complete without any errors.

Hope you can help

Cheers


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
maj 23
2050
7
gru 24
7432
0
lip 24
1004
0
lut 24
3085
0
sie 23
1172