When the QWeb `<template>` loading test was introduced at [1], the `test_website` module did not exist yet, see [2]. This commit moves that test and its related data file to `test_website` to remove the `fake data` noise from the `website` module. That's one of the two purpose of this `test_website` module: - Avoid noising the website module with test only data & code - Encapsulate in a lighter module the module operations tests, but it's not really the case anymore as those tests are now standalone tests. See manifest for more details. [1]: https://github.com/odoo/odoo/commit/9cd982bcc811cacb42f5c08db139043d2734b891 [2]: https://github.com/odoo/odoo/commit/ef03db9edd9472201cb2c08a32d20ff0f33a5fdf closes odoo/odoo#109349 Signed-off-by: Romain Derie (rde) <rde@odoo.com>
24 lines
824 B
XML
24 lines
824 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="test_website.test_template" name="test template 2">
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<t t-call-assets="test_website.test_bundle" t-js="False"/>
|
|
<meta/>
|
|
<t t-call-assets="test_website.test_bundle" t-css="False"/>
|
|
</head>
|
|
<body>
|
|
<img src="http://test.external.link/img.png"/>
|
|
<img src="/test_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> |