Public release from ruodoo-project: 19.0 - 2026-05-10 21:19:01 UTC
This commit is contained in:
9
translation_helper/views/templates.xml
Normal file
9
translation_helper/views/templates.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<odoo>
|
||||
<template id="translation_helper.layout_with_translate" name="Web layout with translate" inherit_id="web.layout">
|
||||
<xpath expr="//head/script[@id='web.layout.odooscript']" position="after">
|
||||
<script id="translation_helper.layout.odooscript.add.translate" type="text/javascript">
|
||||
odoo.translate = "<t t-esc="translate" />"
|
||||
</script>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user