[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:
@@ -67,4 +67,7 @@ publicWidget.registry.RatingPopupComposer = publicWidget.Widget.extend({
|
||||
]);
|
||||
},
|
||||
});
|
||||
|
||||
return RatingPopupComposer;
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user