odoo/tutorials#187

Created by Corentin Vermeulen (cove)

Blocked

label
odoo-dev:18.0-fix-awesome-gallery-tutorial
head
cb7eef680e697bd1fa379081b239367e9bb04085
odoo/tutorials
18.0 #187 missing r+
master

[FIX] 18.0 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. Also the "tree" view seems to not be supported anymore in 18.0 and is replaced with "list".
  4. 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