I'm currently working on a custom module in Odoo 18 (dev version) and ran into several warnings when starting the server and updating my module:
WARNING odoo.addons.base.models.ir_qweb: Unknown directives or unused attributes: {'t-call-assets', 't-js'} in web.webclient_bootstrap
WARNING odoo.addons.base.models.ir_qweb: Unknown directives or unused attributes: {'t-call-assets'} in web.webclient_bootstrap
WARNING odoo.addons.base.models.ir_qweb: Unknown directives or unused attributes: {'t-call-assets'} in web.conditional_assets_tests
WARNING odoo.addons.base.models.ir_qweb: Found deprecated directive @t-esc="title or 'Odoo'" in template 180. Replace by @t-out
WARNING odoo.addons.base.models.ir_qweb: Found deprecated directive @t-esc='request.csrf_token(None)' in template 180. Replace by @t-out
WARNING odoo.addons.base.models.ir_qweb: Found deprecated directive @t-esc='debug' in template 180. Replace by @t-out
- I'm using web_icon="estate,static/description/icon.png" in my menuitem.
- I recently re-created the static directory after accidentally deleting it.
- These warnings appear even after clearing the cache and restarting the server.
- Dev mode is enabled.
Questions:
How should I correctly handle t-call-assets or avoid the warning if it's not meant to be used?