hi i use this code to load js file but when user not login not work
<template id="assets_hide_price" inherit_id="website.assets_frontend">
<xpath expr="." position="inside">
<t t-if="request and request.env['res.config.settings'].search([('website_id','=', request.website.id)], order='id desc', limit=1).website_hide_price">
<script type="text/javascript" src="/website_sale_customize/static/src/js/website_hide_price.js"/>
</t>
</xpath>
</template>