[MIG] web_environment_ribbon: Migration to 15.0

pull/2311/head
Andreas Perhab 2021-10-13 11:19:29 +02:00 committed by Benoit Aimont
parent 1f9d016984
commit fb8423b133
4 changed files with 12 additions and 27 deletions

View File

@ -79,6 +79,7 @@ Contributors
* Xavier Jiménez <xavier.jimenez@qubiq.es> * Xavier Jiménez <xavier.jimenez@qubiq.es>
* Dennis Sluijk <d.sluijk@onestein.nl> * Dennis Sluijk <d.sluijk@onestein.nl>
* Eric Lembregts <eric@lembregts.eu> * Eric Lembregts <eric@lembregts.eu>
* Andreas Perhab <a.perhab@wtioit.at>
Maintainers Maintainers
~~~~~~~~~~~ ~~~~~~~~~~~

View File

@ -6,7 +6,7 @@
{ {
"name": "Web Environment Ribbon", "name": "Web Environment Ribbon",
"version": "14.0.1.0.0", "version": "15.0.1.0.0",
"category": "Web", "category": "Web",
"author": "Francesco OpenCode Apruzzese, " "author": "Francesco OpenCode Apruzzese, "
"Tecnativa, " "Tecnativa, "
@ -14,7 +14,14 @@
"website": "https://github.com/OCA/web", "website": "https://github.com/OCA/web",
"license": "AGPL-3", "license": "AGPL-3",
"depends": ["web"], "depends": ["web"],
"data": ["data/ribbon_data.xml", "view/base_view.xml"], "data": [
"data/ribbon_data.xml",
],
"auto_install": False, "auto_install": False,
"installable": True, "installable": True,
"assets": {
"web.assets_common": [
"web_environment_ribbon/static/**/*",
],
},
} }

View File

@ -4,7 +4,7 @@
from odoo.tests import common from odoo.tests import common
class TestEnvironmentRibbonData(common.SavepointCase): class TestEnvironmentRibbonData(common.TransactionCase):
@classmethod @classmethod
def setUpClass(cls): def setUpClass(cls):
super(TestEnvironmentRibbonData, cls).setUpClass() super(TestEnvironmentRibbonData, cls).setUpClass()

View File

@ -1,23 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2015 Francesco OpenCode Apruzzese <cescoap@gmail.com>
Copyright 2016 Antonio Espinosa <antonio.espinosa@tecnativa.com>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
<!-- Load css for ribbons -->
<template
id="assets_backend"
name="ribbon_test assets"
inherit_id="web.assets_backend"
>
<xpath expr="." position="inside">
<link
rel="stylesheet"
href="/web_environment_ribbon/static/src/css/ribbon.css"
/>
<script
type="text/javascript"
src="/web_environment_ribbon/static/src/js/ribbon.js"
/>
</xpath>
</template>
</odoo>