-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[17.0][FIX] web_responsive: Make showAppsMenuItem work again #3069
Conversation
60983e9
to
1f7f416
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
In Odoo 17, the Class TourStepUtils was removed, and stepUtils is now an object instead of a class. When this module is installed, the tours stop working and throw the error: Uncaught Error: Dependencies should be defined by an array: function (require) {. This commit adapts the code to align with these changes, ensuring that tours work correctly.
1f7f416
to
50c8ade
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change of dependencies is reasonable, as web_tour
is required by most of the top-level applications (sale, account, purchase...).
/ocabot merge patch
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at 860d9fb. Thanks a lot for contributing to OCA. ❤️ |
In Odoo 17, the Class
TourStepUtils
was removed, andstepUtils
is now anobject
instead of aclass
. When this module is installed, the tours stop working and throw the error:Uncaught Error: Dependencies should be defined by an array:
This commit adapts the code to align with these changes, ensuring that tours work correctly.
V16
https://github.com/odoo/odoo/blob/b97f0cfbd6b39d176f9b7e465f6da0722222b010/addons/web_tour/static/src/js/tour_step_utils.js#L7
V17
https://github.com/odoo/odoo/blob/77243bc85db87fad2196052036390f65bd451eeb/addons/web_tour/static/src/tour_service/tour_utils.js#L426
@Tecnativa @CarlosRoca13 @pedrobaeza @yajo could you please review this, Thanks!