[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#62020

X-original-commit: 6514bb7071b30093ad27006cf46530262a742a39
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
This commit is contained in:
Mohammed Shekha
2020-11-19 13:38:19 +00:00
parent b94519e6e8
commit 458e25b728
@@ -67,4 +67,7 @@ publicWidget.registry.RatingPopupComposer = publicWidget.Widget.extend({
]);
},
});
return RatingPopupComposer;
});