web_boolean_button ported from Odoo 12.0 CE

This commit is contained in:
Sergei Ruzki
2021-02-15 14:46:56 +01:00
committed by Tom Blauwendraat
parent d10acbacef
commit d5c11bed9d
11 changed files with 990 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<template
id="assets_backend"
name="web_boolean_button"
inherit_id="web.assets_backend"
>
<xpath expr="." position="inside">
<script
type="text/javascript"
src="/web_boolean_button/static/src/js/basic_fields.js"
/>
</xpath>
</template>
<template id="qunit_suite" name="boolean_button_tests" inherit_id="web.qunit_suite">
<xpath expr="//t[@t-set='head']" position="inside">
<script
type="text/javascript"
src="/web_boolean_button/static/tests/form_tests.js"
/>
</xpath>
</template>
</odoo>