Odoo18-Base/addons/website/tests/template_qweb_test.xml
2025-03-10 11:12:23 +07:00

24 lines
804 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="website.test_template" name="test template 2">
&lt;!DOCTYPE html&gt;
<html>
<head>
<t t-call-assets="website.test_bundle" t-js="False"/>
<meta/>
<t t-call-assets="website.test_bundle" t-css="False"/>
</head>
<body>
<img src="http://test.external.link/img.png"/>
<img src="/website/static/img.png"/>
<a href="http://test.external.link/link">x</a>
<a href="/web/content/local_link">x</a>
<span t-attf-style="background-image: url('/web/image/2')" t-att-empty="False">xxx</span>
<div widget="html" t-field="user.signature"/>
<div widget="image" t-field="user.avatar_1920" t-options="{'widget': 'image'}"/>
</body>
</html>
</template>
</odoo>