2023-02-26 12:44:20,171 5433 ERROR db_538584 odoo.upgrade.base.tests.test_mock_crawl: FAIL: TestCrawler.test_check
Traceback (most recent call last):
File "/tmp/tmp946fqdcd/migrations/testing.py", line 211, in test_check
self.check(value)
File "/tmp/tmp946fqdcd/migrations/base/tests/test_mock_crawl.py", line 121, in check
self.assertFalse(diff, msg)
AssertionError: [('workshop.workshop_vehicles_evaluation', 626, 'Workshop > Reporting > Cost Evaluation', 863)] is not false : At least one menu or view working before upgrade is not working after upgrade.
('workshop.workshop_vehicles_evaluation', 626, 'Workshop > Reporting > Cost Evaluation', 863):
Traceback (most recent call last):
File "/home/odoo/src/odoo/16.0/odoo/tools/cache.py", line 85, in lookup
r = d[key]
File "", line 2, in __getitem__
File "/home/odoo/src/odoo/16.0/odoo/tools/func.py", line 87, in locked
return func(inst, *args, **kwargs)
File "/home/odoo/src/odoo/16.0/odoo/tools/lru.py", line 34, in __getitem__
a = self.d[obj]
KeyError: ('workshop.vehicle.log.services', , (False, '', None, None, None))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/odoo/src/odoo/16.0/odoo/addons/base/models/ir_ui_view.py", line 2578, in _get_view
arch = getattr(self, '_get_default_%s_view' % view_type)()
AttributeError: 'workshop.vehicle.log.services' object has no attribute '_get_default__view'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/tmp946fqdcd/migrations/base/tests/test_mock_crawl.py", line 220, in crawl_menu
self.mock_action(action_vals)
File "/tmp/tmp946fqdcd/migrations/base/tests/test_mock_crawl.py", line 304, in mock_action
views = get_views(
File "/home/odoo/src/odoo/16.0/odoo/addons/base/models/ir_ui_view.py", line 2481, in get_views
result['views'] = {
File "/home/odoo/src/odoo/16.0/odoo/addons/base/models/ir_ui_view.py", line 2482, in
v_type: self.get_view(
File "/home/odoo/src/odoo/16.0/odoo/addons/base/models/ir_ui_view.py", line 2666, in get_view
result = dict(self._get_view_cache(view_id, view_type, **options))
File "", line 2, in _get_view_cache
File "/home/odoo/src/odoo/16.0/odoo/tools/cache.py", line 90, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/home/odoo/src/odoo/16.0/odoo/addons/base/models/ir_ui_view.py", line 2626, in _get_view_cache
arch, view = self._get_view(view_id, view_type, **options)
File "/home/odoo/src/odoo/16.0/addons/web/models/models.py", line 245, in _get_view
arch, view = super()._get_view(view_id, view_type, **options)
File "/home/odoo/src/odoo/16.0/odoo/addons/base/models/ir_ui_view.py", line 2580, in _get_view
raise UserError(_("No default view of type '%s' could be found !", view_type))
odoo.exceptions.UserError: No default view of type '' could be found !
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
2100
Lượt xem
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
3
thg 8 25
|
2544 | ||
|
1
thg 5 25
|
2600 | ||
|
1
thg 4 25
|
3575 | ||
|
1
thg 4 25
|
4431 | ||
|
1
thg 4 25
|
1887 |