mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[FIX] pylint
This commit is contained in:
committed by
Enric Tobella
parent
c150bdc70b
commit
544a6c8e93
@@ -21,6 +21,7 @@
|
||||
'qweb': [
|
||||
'static/src/xml/widget.xml',
|
||||
],
|
||||
'license': 'AGPL-3',
|
||||
'auto_install': False,
|
||||
'installable': True,
|
||||
'web_preload': True,
|
||||
|
||||
@@ -57,11 +57,11 @@ odoo.define('web.web_widget_color', function(require) {
|
||||
if (!this.get("effective_readonly")) {
|
||||
var $input = this.$el.find('input');
|
||||
$input.val(show_value);
|
||||
$input.css("background-color", show_value)
|
||||
$input.css("background-color", show_value);
|
||||
jscolor.init(this.$el[0]);
|
||||
} else {
|
||||
this.$(".oe_form_char_content").text(show_value);
|
||||
this.$('div').css("background-color", show_value)
|
||||
this.$('div').css("background-color", show_value);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
<odoo>
|
||||
<template id="assets_backend" name="web_widget_color assets" inherit_id="web.assets_backend">
|
||||
<xpath expr="." position="inside">
|
||||
<link rel="stylesheet" href="/web_widget_color/static/src/css/widget.css"/>
|
||||
@@ -8,5 +7,4 @@
|
||||
<script type="text/javascript" src="/web_widget_color/static/src/js/widget.js"></script>
|
||||
</xpath>
|
||||
</template>
|
||||
</data>
|
||||
</openerp>
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user