mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[MIG] hibou_professional: to Odoo 15.0
This commit is contained in:
@@ -13,11 +13,16 @@ Hibou Professional Support and Billing
|
|||||||
""",
|
""",
|
||||||
'website': 'https://hibou.io/',
|
'website': 'https://hibou.io/',
|
||||||
'data': [
|
'data': [
|
||||||
'views/webclient_templates.xml',
|
|
||||||
],
|
|
||||||
'qweb': [
|
|
||||||
'static/src/xml/templates.xml',
|
|
||||||
],
|
],
|
||||||
|
'assets': {
|
||||||
|
'web.assets_qweb': [
|
||||||
|
'hibou_professional/static/src/xml/templates.xml',
|
||||||
|
],
|
||||||
|
'web.assets_backend': [
|
||||||
|
'hibou_professional/static/src/css/web.css',
|
||||||
|
'hibou_professional/static/src/js/core.js',
|
||||||
|
],
|
||||||
|
},
|
||||||
'installable': True,
|
'installable': True,
|
||||||
'auto_install': True,
|
'auto_install': True,
|
||||||
'license': 'OPL-1',
|
'license': 'OPL-1',
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<templates id="template" xml:space="preserve">
|
<templates id="template" xml:space="preserve">
|
||||||
<t t-name="HibouProfessionalSystrayWidget">
|
<t t-name="HibouProfessionalSystrayWidget">
|
||||||
<li class="hibou_professional_systray o_mail_systray_item">
|
<div class="hibou_professional_systray o_mail_systray_item dropdown">
|
||||||
<a class="dropdown-toggle o-no-caret" data-toggle="dropdown" aria-expanded="false" data-flip="false" data-display="static" href="#">
|
<a class="dropdown-toggle o-no-caret o-dropdown--narrow" data-toggle="dropdown" aria-expanded="false" data-flip="false" data-display="static" href="#" role="button">
|
||||||
<img t-if="! (widget.expiring || widget.expired)" class="hibou-icon-small" width="16px" height="16px" src="/hibou_professional/static/src/img/hibou_icon_small.png" alt="Hibou Icon"/>
|
<img t-if="! (widget.expiring || widget.expired)" class="hibou-icon-small" width="16px" height="16px" src="/hibou_professional/static/src/img/hibou_icon_small.png" alt="Hibou Icon"/>
|
||||||
<i class="fa fa-exclamation-triangle" t-if="widget.expiring || widget.expired"/>
|
<i class="fa fa-exclamation-triangle" t-if="widget.expiring || widget.expired"/>
|
||||||
<span class="expiration_message" t-if="widget.expiring" t-esc="widget.expiring"/>
|
<span class="expiration_message" t-if="widget.expiring" t-esc="widget.expiring"/>
|
||||||
@@ -131,6 +131,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</div>
|
||||||
</t>
|
</t>
|
||||||
</templates>
|
</templates>
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<odoo>
|
|
||||||
<template id="assets_backend" name="Hibou Professional" inherit_id="web.assets_backend" priority='15'>
|
|
||||||
<xpath expr="//script[last()]" position="after">
|
|
||||||
<script type="text/javascript" src="/hibou_professional/static/src/js/core.js"></script>
|
|
||||||
</xpath>
|
|
||||||
<xpath expr="//link[last()]" position="after">
|
|
||||||
<link rel="stylesheet" type="text/css" href="/hibou_professional/static/src/css/web.css"/>
|
|
||||||
</xpath>
|
|
||||||
</template>
|
|
||||||
</odoo>
|
|
||||||
Reference in New Issue
Block a user