[IMP] base: remove dead code

options are not used anymore since 8cc066173d

This was discovered by @d-fence

Part-of: odoo/odoo#75248
This commit is contained in:
Xavier-Do
2021-08-26 10:21:10 +00:00
parent b19dc63468
commit 2921f60055
-7
View File
@@ -263,13 +263,6 @@ class IrQWeb(models.AbstractModel, QWeb):
@tools.ormcache_context('bundle', 'options.get("lang", "en_US")', keys=("website_id",))
def _get_asset_content(self, bundle, options, nodeAttrs=None):
options = dict(options,
inherit_branding=False, inherit_branding_auto=False,
edit_translations=False, translatable=False,
rendering_bundle=True)
options['website_id'] = self.env.context.get('website_id')
asset_paths = self.env['ir.asset']._get_asset_paths(bundle=bundle, css=True, js=True)
files = []