Browse Source

publish muk_web_branding - 12.0

pull/115/head
MuK IT GmbH 6 years ago
parent
commit
56af9993ab
  1. 2
      muk_web_branding/__manifest__.py
  2. 2
      muk_web_branding/static/src/js/fields/upgrade.js
  3. 5
      muk_web_branding/static/src/js/views/res_config_settings.js

2
muk_web_branding/__manifest__.py

@ -20,7 +20,7 @@
{
"name": "MuK Web Branding",
"summary": """Branding and Debranding""",
"version": "12.0.1.1.2",
"version": "12.0.1.1.3",
"category": "Extra Tools",
"license": "AGPL-3",
"website": "http://www.mukit.at",

2
muk_web_branding/static/src/js/fields/upgrade.js

@ -31,7 +31,7 @@ var DisableMixin = {
_render: function () {
var $container = this.$el.parent().parent();
if ($container.hasClass('o_setting_box')) {
$container.remove();
$container.addClass('o_hidden');
}
},
}

5
muk_web_branding/static/src/js/views/res_config_settings.js

@ -32,8 +32,9 @@ settings.Renderer.include({
_render: function () {
var res = this._super.apply(this, arguments);
$.each(this.$('.o_settings_container'), function() {
if($(this).children().length == 0) {
$(this).prev().remove();
if($(this).children(':not(.o_hidden)').length === 0) {
$(this).prev().addClass('o_hidden');
$(this).addClass('o_hidden');
}
});
return res;

Loading…
Cancel
Save