Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] 18.0 Module Awesome_Gallery setup creates error #187

Open
wants to merge 1 commit into
base: 18.0
Choose a base branch
from

Conversation

CorentinVermeulen
Copy link

@CorentinVermeulen CorentinVermeulen commented Nov 7, 2024

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

===================
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
@CorentinVermeulen CorentinVermeulen force-pushed the 18.0-fix-awesome-gallery-tutorial branch from a742f0b to 8753897 Compare November 7, 2024 14:39
@AntoineVDV AntoineVDV requested a review from fdardenne November 14, 2024 10:12
@CorentinVermeulen CorentinVermeulen changed the title [FIX] Module Awesome_Gallery setup creates error [FIX] 18.0 Module Awesome_Gallery setup creates error Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant