Skip to content
Snippets Groups Projects
Commit 72ec1a44 authored by Mohammed Shekha's avatar Mohammed Shekha
Browse files

[IMP] website_rating: return RatingPopupComposer from portal_rating_composer.js


before this commit: portal_rating_composer.js do not return anything, as it does
not return anything extending RatingPopupComposer is not possible, as
RatingPopupComposer loads template using xmlDependencies so inherting template
'website_rating.PopupComposer' is also not possible because if some other module
wants to extend 'website_rating.PopupComposer' template then it has to add extended
template by extending 'RatingPopupComposer' widget.

with this commit: RatingPopupComposer is returned in portal_rating_composer.js

closes odoo/odoo#62016

X-original-commit: 6514bb70
Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
parent 29f12da0
Branches
Tags
No related merge requests found
......@@ -67,4 +67,7 @@ publicWidget.registry.RatingPopupComposer = publicWidget.Widget.extend({
]);
},
});
return RatingPopupComposer;
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment