update customize

This commit is contained in:
ivan deng
2021-03-31 17:55:01 +08:00
parent 45daf52e22
commit 66248c3615
13 changed files with 120 additions and 46 deletions

View File

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

View 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;
},
});
});

View File

@@ -0,0 +1,7 @@
.modal {
.modal-content {
.modal-header.ui-draggable-handle {
cursor: move;
}
}
}