mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[MIG] web_notify: Migration to 15.0
This commit is contained in:
@@ -9,48 +9,52 @@
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//notebook/page[1]" position="after">
|
||||
<page string="Test web notify" name="test_web_notify">
|
||||
<group>
|
||||
<group>
|
||||
<group>
|
||||
<button
|
||||
<button
|
||||
name="notify_success"
|
||||
type="object"
|
||||
string="Test success notification"
|
||||
class="oe_highlight"
|
||||
/>
|
||||
</group>
|
||||
<group>
|
||||
<button
|
||||
</group>
|
||||
<group>
|
||||
<button
|
||||
name="notify_danger"
|
||||
type="object"
|
||||
string="Test danger notification"
|
||||
class="oe_highlight"
|
||||
/>
|
||||
</group>
|
||||
<group>
|
||||
<button
|
||||
</group>
|
||||
</group>
|
||||
<group>
|
||||
<group>
|
||||
<button
|
||||
name="notify_warning"
|
||||
type="object"
|
||||
string="Test warning notification"
|
||||
class="oe_highlight"
|
||||
/>
|
||||
</group>
|
||||
<group>
|
||||
<button
|
||||
</group>
|
||||
<group>
|
||||
<button
|
||||
name="notify_info"
|
||||
type="object"
|
||||
string="Test info notification"
|
||||
class="oe_highlight"
|
||||
/>
|
||||
</group>
|
||||
<group>
|
||||
<button
|
||||
</group>
|
||||
</group>
|
||||
<group>
|
||||
<group>
|
||||
<button
|
||||
name="notify_default"
|
||||
type="object"
|
||||
string="Test default notification"
|
||||
class="oe_highlight"
|
||||
/>
|
||||
</group>
|
||||
</group>
|
||||
</group>
|
||||
</page>
|
||||
</xpath>
|
||||
</field>
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<template
|
||||
id="assets_backend"
|
||||
name="web_notify assets"
|
||||
inherit_id="web.assets_backend"
|
||||
>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
type="text/scss"
|
||||
href="/web/static/src/scss/webclient.scss"
|
||||
position="after"
|
||||
>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
type="text/scss"
|
||||
href="/web_notify/static/src/scss/webclient.scss"
|
||||
/>
|
||||
</link>
|
||||
<xpath expr="." position="inside">
|
||||
<script
|
||||
type="text/javascript"
|
||||
src="/web_notify/static/src/js/web_client.js"
|
||||
/>
|
||||
<script
|
||||
type="text/javascript"
|
||||
src="/web_notify/static/src/js/widgets/notification.js"
|
||||
/>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user