[FIX] base: fix js unique (missing template)
This error was intoduced in #121159 The javascript unique should also be based on templates. closes odoo/odoo#121842 X-original-commit: 2a7c6640357b4d6fc0c539b5d8d5e6dd80882d5b Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com>
This commit is contained in:
@@ -229,7 +229,7 @@ class AssetsBundle(object):
|
||||
if asset_type == 'css':
|
||||
assets = self.stylesheets
|
||||
elif asset_type == 'js':
|
||||
assets = self.javascripts
|
||||
assets = self.javascripts + self.templates
|
||||
else:
|
||||
raise ValueError(f'Asset type {asset_type} not known')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user