mirror of https://github.com/OCA/web.git
add datepicker.js through assets_backend
parent
71a1cdb16c
commit
e0650cb1bd
|
@ -27,8 +27,8 @@
|
|||
'base',
|
||||
'web',
|
||||
],
|
||||
"js": [
|
||||
'static/src/js/datepicker.js',
|
||||
"data": [
|
||||
'view/qweb.xml',
|
||||
],
|
||||
"author": "Vincent Vinet",
|
||||
"installable": True,
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
<openerp>
|
||||
<data>
|
||||
<template id="assets_backend" name="web_widget_datepicker_options assets" inherit_id="web.assets_backend">
|
||||
<xpath expr="." position="inside">
|
||||
<script type="text/javascript" src="/web_widget_datepicker_options/static/src/js/datepicker.js"></script>
|
||||
</xpath>
|
||||
</template>
|
||||
</data>
|
||||
</openerp>
|
||||
|
Loading…
Reference in New Issue