add datepicker.js through assets_backend

pull/103/head
Vincent Vinet 2015-05-08 08:38:51 -04:00
parent 71a1cdb16c
commit e0650cb1bd
2 changed files with 12 additions and 2 deletions

View File

@ -27,8 +27,8 @@
'base',
'web',
],
"js": [
'static/src/js/datepicker.js',
"data": [
'view/qweb.xml',
],
"author": "Vincent Vinet",
"installable": True,

View File

@ -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>