mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update common
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
|
||||
{
|
||||
'name': 'odoo 14,13 Customize OEM(Boost, Data reset)',
|
||||
'version': '13.20.11.06',
|
||||
'version': '13.20.11.10',
|
||||
'author': 'Sunpop.cn',
|
||||
'category': 'Productivity',
|
||||
'website': 'https://www.sunpop.cn',
|
||||
@@ -35,7 +35,7 @@
|
||||
customize my odoo.
|
||||
""",
|
||||
'description': """
|
||||
|
||||
|
||||
App Customize Odoo (Change Title,Language,Documentation,Quick Debug)
|
||||
============
|
||||
White label odoo.
|
||||
@@ -78,7 +78,8 @@
|
||||
35. Fixed for odoo 14.
|
||||
36. Add refresh translate for multi module.
|
||||
37. Easy noupdate manage for External Identifiers(xml_id)
|
||||
|
||||
38. Add Draggable Dialog enable.
|
||||
|
||||
This module can help to white label the Odoo.
|
||||
Also helpful for training and support for your odoo end-user.
|
||||
The user can get the help document just by one click.
|
||||
@@ -122,6 +123,7 @@
|
||||
35. 优化至odoo14适用
|
||||
36. 可为多个模块强制更新翻译
|
||||
37. noupdate字段的快速管理,主要针对 xml_id
|
||||
38. 对话框可拖拽
|
||||
""",
|
||||
'images': ['static/description/banner.gif'],
|
||||
'depends': [
|
||||
@@ -134,6 +136,8 @@
|
||||
# 'web_mobile'
|
||||
],
|
||||
'data': [
|
||||
'security/res_groups.xml',
|
||||
'security/ir.model.access.csv',
|
||||
'views/app_odoo_customize_views.xml',
|
||||
'views/app_theme_config_settings_views.xml',
|
||||
'views/res_config_settings_views.xml',
|
||||
@@ -149,8 +153,6 @@
|
||||
'data/ir_module_module_data.xml',
|
||||
# 'data/digest_template_data.xml',
|
||||
'data/res_company_data.xml',
|
||||
'security/res_groups.xml',
|
||||
'security/ir.model.access.csv',
|
||||
],
|
||||
'qweb': [
|
||||
'static/src/xml/*.xml',
|
||||
|
||||
@@ -47,6 +47,9 @@
|
||||
<div class="oe_span12">
|
||||
<h2 class="oe_slogan">This is a Long Term Support Apps.</h2>
|
||||
<div class="oe_demo" style=" margin: 30px auto 0; padding: 0 15px 0 0; border:none; width: 96%;">
|
||||
<h3>Update: v13.20.11.09</h3>
|
||||
<p>38. Add Draggable Dialog enable.</p>
|
||||
<p>37. Easy noupdate manage for External Identifiers(xml_id).</p>
|
||||
<h3>Update: v13.20.08.29</h3>
|
||||
<p>36. Add odoo 14 support.</p>
|
||||
<h3>Update: v13.20.04.12</h3>
|
||||
|
||||
17
app_odoo_customize/static/src/js/dialog.js
Normal file
17
app_odoo_customize/static/src/js/dialog.js
Normal file
@@ -0,0 +1,17 @@
|
||||
odoo.define('app_odoo_customize.dialog', function (require) {
|
||||
'use strict';
|
||||
|
||||
var Dialog = require('web.Dialog');
|
||||
|
||||
Dialog.include({
|
||||
open: function () {
|
||||
this._super.apply(this, arguments);
|
||||
this._opened.then(function(){
|
||||
$(".modal-content").draggable({
|
||||
handle: ".modal-header"
|
||||
});
|
||||
});
|
||||
return this;
|
||||
},
|
||||
});
|
||||
});
|
||||
7
app_odoo_customize/static/src/scss/dialog.scss
Normal file
7
app_odoo_customize/static/src/scss/dialog.scss
Normal file
@@ -0,0 +1,7 @@
|
||||
.modal {
|
||||
.modal-content {
|
||||
.modal-header.ui-draggable-handle {
|
||||
cursor: move;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -4,11 +4,13 @@
|
||||
<xpath expr="//link[last()]" position="after">
|
||||
<link rel="stylesheet" type="text/scss" href="/app_odoo_customize/static/src/scss/app.scss"/>
|
||||
<link rel="stylesheet" type="text/scss" href="/app_odoo_customize/static/src/scss/ribbon.scss"/>
|
||||
<link rel="stylesheet" type="text/scss" href="/app_odoo_customize/static/src/scss/dialog.scss"/>
|
||||
</xpath>
|
||||
<xpath expr="script[last()]" position="after">
|
||||
<script type="text/javascript" src="/app_odoo_customize/static/src/js/app_window_title.js"></script>
|
||||
<script type="text/javascript" src="/app_odoo_customize/static/src/js/customize_user_menu.js"></script>
|
||||
<script type="text/javascript" src="/app_odoo_customize/static/src/js/ribbon.js"></script>
|
||||
<script type="text/javascript" src="/app_odoo_customize/static/src/js/dialog.js"></script>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user