summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/view_editor.js
diff options
context:
space:
mode:
authorTurkesh Patel (Open ERP) <tpa@tinyerp.com>2012-04-04 17:32:11 +0530
committerTurkesh Patel (Open ERP) <tpa@tinyerp.com>2012-04-04 17:32:11 +0530
commite685e4b3b66048e07f8c2e98f8e41a10db60eaaf (patch)
tree557f3e96ee6defd27dfe573eaef26d7951d6c9c1 /addons/web/static/src/js/view_editor.js
parentdc9db0c01c360fb144a6bc3bd07b14827bb4125e (diff)
[IMP] improved code for font-bold feature
bzr revid: tpa@tinyerp.com-20120404120211-0b1l1zvjx5550hqa
Diffstat (limited to 'addons/web/static/src/js/view_editor.js')
-rw-r--r--addons/web/static/src/js/view_editor.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/src/js/view_editor.js b/addons/web/static/src/js/view_editor.js
index e0953ae5ef6..ae531c8c925 100644
--- a/addons/web/static/src/js/view_editor.js
+++ b/addons/web/static/src/js/view_editor.js
@@ -874,7 +874,7 @@ openerp.web.ViewEditor = openerp.web.OldWidget.extend({
'colors' : {'name':'colors', 'string': 'Colors', 'type': 'char'},
'editable' : {'name':'editable', 'string': 'Editable', 'type': 'selection', 'selection': [["",""],["top","Top"],["bottom", "Bottom"]]},
'groups' : {'name':'groups', 'string': 'Groups', 'type': 'selection_multi'},
- 'fontbold' : {'name':'fontbold', 'string': 'fontbold', 'type': 'char'},
+ 'fonts' : {'name':'fonts', 'string': 'fonts', 'type': 'char'},
};
var arch_val = self.get_object_by_id(this.one_object.clicked_tr_id,this.one_object['main_object'], []);
this.edit_node_dialog.$element.append('<table id="rec_table" style="width:400px" class="oe_forms"></table>');
@@ -1150,7 +1150,7 @@ var _PROPERTIES = {
'board': ['style'],
'column' : [],
'action' : ['name', 'string', 'colspan', 'groups'],
- 'tree' : ['string', 'colors', 'editable', 'link', 'limit', 'min_rows', 'fontbold'],
+ 'tree' : ['string', 'colors', 'editable', 'link', 'limit', 'min_rows', 'fonts'],
'graph' : ['string', 'type'],
'calendar' : ['string', 'date_start', 'date_stop', 'date_delay', 'day_length', 'color', 'mode']
};