update ui_e

This commit is contained in:
ivan deng
2017-12-13 14:07:23 +08:00
parent a009219026
commit b4c2703e0a
5 changed files with 7 additions and 18 deletions

View File

@@ -53,7 +53,6 @@ eg.
'data': [ 'data': [
'views/app_ui_config_settings_view.xml', 'views/app_ui_config_settings_view.xml',
'views/template_view.xml', 'views/template_view.xml',
'views/web_list_bg_color_view.xml',
# data # data
'data/ir_config_parameter.xml', 'data/ir_config_parameter.xml',
], ],

View File

@@ -70,7 +70,7 @@
<p>This module changes the line color of records based on condition like state of a record and helps distinguish between different sets of <p>This module changes the line color of records based on condition like state of a record and helps distinguish between different sets of
records based on condition.</p> records based on condition.</p>
<a href="http://www.sunpop.cn" target="_blank"> <a href="http://www.sunpop.cn" target="_blank">
<img src="web_bg_color_change.png" width="100%"> <img src="odoo_web_tree_bg_color.png" width="100%">
<p>Set Backgroud color to filed in list view based on condition same as colors and style attributes of tree view.</p> <p>Set Backgroud color to filed in list view based on condition same as colors and style attributes of tree view.</p>
</a> </a>
<h3># Instructions for Activating List background color property</h3> <h3># Instructions for Activating List background color property</h3>

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

View File

@@ -1,13 +1,14 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <odoo>
<data> <data>
<template id="assets_backend" inherit_id="web.assets_backend"> <template id="assets_backend" inherit_id="web.assets_backend">
<xpath expr="." position="inside"> <xpath expr="." position="inside">
<link rel="stylesheet" type="text/css" href="/app_ui_enhance/static/src/css/app_ui_enhance.css"/> <link rel="stylesheet" type="text/css" href="/app_ui_enhance/static/src/css/app_ui_enhance.css"/>
<script type="text/javascript" src="/app_ui_enhance/static/src/js/pivot.js"></script> <link rel="stylesheet" href="/app_ui_enhance/static/src/css/web_list_bg_color.css"/>
<script type="text/javascript" src="/app_ui_enhance/static/src/js/tree.js"></script> <script type="text/javascript" src="/app_ui_enhance/static/src/js/pivot.js"></script>
</xpath> <script type="text/javascript" src="/app_ui_enhance/static/src/js/tree.js"></script>
<script type="text/javascript" src="/app_ui_enhance/static/src/js/web_list_bg_color.js"></script>
</xpath>
</template> </template>
</data> </data>

View File

@@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<template id="assets_backend" name="web_field_bg_color assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<link rel="stylesheet" href="/app_ui_enhance/static/src/css/web_list_bg_color.css"/>
<script type="text/javascript" src="/app_ui_enhance/static/src/js/web_list_bg_color.js"></script>
</xpath>
</template>
</data>
</openerp>