[IMP] move select2 to its own module
bzr revid: xmo@openerp.com-20131113145727-3p2fh8bprj7k09xe
This commit is contained in:
parent
d15a6f426d
commit
6562ab4d76
|
@ -24,18 +24,16 @@ Re-implement openerp's file import system:
|
||||||
'category': 'Uncategorized',
|
'category': 'Uncategorized',
|
||||||
'website': 'http://www.openerp.com',
|
'website': 'http://www.openerp.com',
|
||||||
'author': 'OpenERP SA',
|
'author': 'OpenERP SA',
|
||||||
'depends': ['web'],
|
'depends': ['web', 'select2'],
|
||||||
'installable': True,
|
'installable': True,
|
||||||
'auto_install': True,
|
'auto_install': True,
|
||||||
'data': [
|
'data': [
|
||||||
'security/ir.model.access.csv',
|
'security/ir.model.access.csv',
|
||||||
],
|
],
|
||||||
'css': [
|
'css': [
|
||||||
'static/lib/select2/select2.css',
|
|
||||||
'static/src/css/import.css',
|
'static/src/css/import.css',
|
||||||
],
|
],
|
||||||
'js': [
|
'js': [
|
||||||
'static/lib/select2/select2.js',
|
|
||||||
'static/lib/javascript-state-machine/state-machine.js',
|
'static/lib/javascript-state-machine/state-machine.js',
|
||||||
'static/src/js/import.js',
|
'static/src/js/import.js',
|
||||||
],
|
],
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
{
|
||||||
|
'name': 'Select 2',
|
||||||
|
'description': """
|
||||||
|
Module bundling the Select 2 javascript library
|
||||||
|
""",
|
||||||
|
'category': 'Hidden/Dependency',
|
||||||
|
'website': 'http://www.openerp.com',
|
||||||
|
'author': 'OpenERP SA',
|
||||||
|
'depends': [],
|
||||||
|
'installable': True,
|
||||||
|
'auto_install': True,
|
||||||
|
'css': [
|
||||||
|
'static/lib/select2/select2.css',
|
||||||
|
],
|
||||||
|
'js': [
|
||||||
|
'static/lib/select2/select2.js',
|
||||||
|
],
|
||||||
|
}
|
Before Width: | Height: | Size: 613 B After Width: | Height: | Size: 613 B |
Before Width: | Height: | Size: 845 B After Width: | Height: | Size: 845 B |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
|
@ -9,7 +9,7 @@ OpenERP Website CMS
|
||||||
|
|
||||||
""",
|
""",
|
||||||
'author': 'OpenERP SA',
|
'author': 'OpenERP SA',
|
||||||
'depends': ['web', 'share'],
|
'depends': ['web', 'share', 'select2'],
|
||||||
'installable': True,
|
'installable': True,
|
||||||
'data': [
|
'data': [
|
||||||
'data/website_data.xml',
|
'data/website_data.xml',
|
||||||
|
|
|
@ -80,8 +80,8 @@
|
||||||
<script t-if="not translatable" type="text/javascript" src="/website/static/src/js/website.snippets.animation.js"></script>
|
<script t-if="not translatable" type="text/javascript" src="/website/static/src/js/website.snippets.animation.js"></script>
|
||||||
|
|
||||||
<t t-if="editable">
|
<t t-if="editable">
|
||||||
<script type="text/javascript" src="/base_import/static/lib/select2/select2.js"></script>
|
<script type="text/javascript" src="/select2/static/lib/select2/select2.js"></script>
|
||||||
<link rel="stylesheet" href="/base_import/static/lib/select2/select2.css"/>
|
<link rel="stylesheet" href="/select2/static/lib/select2/select2.css"/>
|
||||||
<script type="text/javascript" src="/website/static/lib/ckeditor/ckeditor.js"></script>
|
<script type="text/javascript" src="/website/static/lib/ckeditor/ckeditor.js"></script>
|
||||||
<script type="text/javascript" src="/website/static/lib/ckeditor.sharedspace/plugin.js"></script>
|
<script type="text/javascript" src="/website/static/lib/ckeditor.sharedspace/plugin.js"></script>
|
||||||
<script type="text/javascript" src="/website/static/lib/bootstrap-tour/bootstrap-tour.js"></script>
|
<script type="text/javascript" src="/website/static/lib/bootstrap-tour/bootstrap-tour.js"></script>
|
||||||
|
|
Loading…
Reference in New Issue