mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update customize
This commit is contained in:
@@ -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: v14.21.03.31</h3>
|
||||
<p>38. Add Draggable Dialog enable.</p>
|
||||
<p>37. Easy noupdate manage for External Identifiers(xml_id).</p>
|
||||
<h3>Update: v14.21.03.03</h3>
|
||||
<p>Fixed odoo Title.</p>
|
||||
<h3>Update: v14.20.12.29</h3>
|
||||
@@ -133,7 +136,6 @@
|
||||
<li class="list-group-item">33. Add Demo Ribbon Setting.</li>
|
||||
<li class="list-group-item">34. Add Remove all quality data.</li>
|
||||
<li class="list-group-item">35. Fixed for odoo 14.</li>
|
||||
<li class="list-group-item">36. Add refresh translate for multi module.</li>
|
||||
</ul>
|
||||
<p>
|
||||
This module can help to white label the Odoo.
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user