Skip to content

Commit a742f0b

Browse files
[FIX] Module Awesome_Gallery setup creates error
=================== Steps to Reproduce: =================== 1. Checkout the origin/18.0 branch for the tutorial repo and install the Awesome_Gallery module. 2. Try to reconnect, you get and error with following traceback: `... File "/home/odoo/work/odoo/addons/web/models/ir_ui_view.py", line 14, in <dictcomp> 'icon': _view_info[type_]['icon'], KeyError: 'gallery' ` 3. Try applying the first step of solution 6.1 from the origin/18.0-solutions branch. The error persists and you cannot do the tutorial. ================== After this commit: ================== The module can be installed without errors, and you can proceed with the tutorial without issues. Note: The 18.0-solutions branch should be updated with the new v18 tutorial, which now focuses on the Contact app instead of the Awesome_Tshirt app. task-xxxx
1 parent fd7ed6e commit a742f0b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: awesome_gallery/models/ir_ui_view.py

-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ def _get_view_info(self):
1111
infos = super()._get_view_info()
1212
infos['gallery'] = {'icon': 'fa fa-image'}
1313
return infos
14-

0 commit comments

Comments
 (0)