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
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
1519
Views
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
3
Nov 24
|
2955 | ||
|
5
Nov 24
|
7482 | ||
|
2
Oct 24
|
2890 | ||
|
4
Oct 24
|
1869 | ||
|
2
Oct 24
|
4028 |