Files
odoo_source/addons/website/views/snippets/s_references.xml
T
Julien Mougenot 3e3dce0eb8 [REF] *: rename assets 'glob' to 'path'
Rationale:
The majority of cases where an ir.asset is manually declared
outside of manifest files is to specifically add a single asset file.
This means developers are specifying a single asset *path*, and not a
glob expression. In this context, it seems better to name the filepath
field `path`, and document that it can be specified with a glob
expression when (seldom) needed, rather than making the exception appear
to be the norm - possibly puzzling many developers (What's a glob and
why do I need one?)

The doc is updated as well, and some spell-checking and wording
improvements were done too.

This required some adaptations to the existing `ir.asset` declarations:
- odoo/enterprise#17465
- odoo/design-themes#459

closes odoo/odoo#68695

Related: odoo/upgrade#2348
Signed-off-by: Olivier Dony (odo) <odo@openerp.com>
2021-04-07 20:39:10 +00:00

40 lines
1.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_references" name="References">
<section class="s_references pt48 pb32">
<div class="container">
<h2 style="text-align: center;">Our References</h2>
<p style="text-align: center;">We are in good company.</p>
<div class="row">
<div class="col-lg-2 pt16 pb16">
<img src="/web/image/website.s_reference_demo_image_1" class="img img-fluid mx-auto" alt=""/>
</div>
<div class="col-lg-2 pt16 pb16">
<img src="/web/image/website.s_reference_demo_image_2" class="img img-fluid mx-auto" alt=""/>
</div>
<div class="col-lg-2 pt16 pb16">
<img src="/web/image/website.s_reference_demo_image_3" class="img img-fluid mx-auto" alt=""/>
</div>
<div class="col-lg-2 pt16 pb16">
<img src="/web/image/website.s_reference_demo_image_4" class="img img-fluid mx-auto" alt=""/>
</div>
<div class="col-lg-2 pt16 pb16">
<img src="/web/image/website.s_reference_demo_image_5" class="img img-fluid mx-auto" alt=""/>
</div>
<div class="col-lg-2 pt16 pb16">
<img src="/web/image/website.s_reference_default_image_6" class="img img-fluid mx-auto" alt=""/>
</div>
</div>
</div>
</section>
</template>
<record id="website.s_references_000_scss" model="ir.asset">
<field name="name">References 000 SCSS</field>
<field name="bundle">web.assets_frontend</field>
<field name="path">website/static/src/snippets/s_references/000.scss</field>
</record>
</odoo>