3
0
Fork 0

[MIG] web_m2x_options: Migration to 15.0

[FIX] web_m2x_options:  External ID not found in the system web.assets_backend
16.0
Germana 2021-11-05 11:40:31 -04:00 committed by Diep Huu Hoang
parent 53b31857af
commit 2a1facd671
3 changed files with 6 additions and 19 deletions

View File

@ -6,7 +6,7 @@
{ {
"name": "web_m2x_options", "name": "web_m2x_options",
"version": "14.0.1.0.0", "version": "15.0.1.0.0",
"category": "Web", "category": "Web",
"author": "initOS GmbH," "author": "initOS GmbH,"
"ACSONE SA/NV, " "ACSONE SA/NV, "
@ -16,7 +16,9 @@
"website": "https://github.com/OCA/web", "website": "https://github.com/OCA/web",
"license": "AGPL-3", "license": "AGPL-3",
"depends": ["web"], "depends": ["web"],
"data": ["views/view.xml"], "assets": {
"qweb": ["static/src/xml/base.xml"], "web.assets_backend": ["web_m2x_options/static/src/js/form.js"],
"web.assets_qweb": ["web_m2x_options/static/src/xml/base.xml"],
},
"installable": True, "installable": True,
} }

View File

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

View File

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<template
id="assets_backend"
name="m2x options assets"
inherit_id="web.assets_backend"
>
<xpath expr="." position="inside">
<script
type="text/javascript"
src="/web_m2x_options/static/src/js/form.js"
/>
</xpath>
</template>
</odoo>