[IMP] vieweditor :- add property attribute.
bzr revid: ysa@tinyerp.com-20111115055453-5b3zse1uz29yl4lb
This commit is contained in:
parent
8d718eb7da
commit
17c81331aa
|
@ -881,6 +881,43 @@ var _PROPERTIES = {
|
|||
'graph' : ['string', 'type'],
|
||||
'calendar' : ['string', 'date_start', 'date_stop', 'date_delay', 'day_length', 'color', 'mode'],
|
||||
};
|
||||
var _PROPERTIES_ATTRIBUTES = {
|
||||
'name' : {'string': 'Name', 'type': 'char'},
|
||||
'string' : {'string': 'String', 'type': 'char'},
|
||||
'required' : {'string': 'Required', 'type': 'boolean'},
|
||||
'readonly' : {'string': 'Readonly', 'type': 'boolean'},
|
||||
'domain' : {'string': 'Domain', 'type': 'char'},
|
||||
'context' : {'string': 'Context', 'type': 'char'},
|
||||
'limit' : {'string': 'Limit', 'type': 'selection'},
|
||||
'min_rows' : {'string': 'Minimum rows', 'type': 'char'},
|
||||
'date_start' : {'string': 'Start date', 'type': 'char'},
|
||||
'date_delay' : {'string': 'Delay date', 'type': 'char'},
|
||||
'day_length' : {'string': 'Day length', 'type': 'char'},
|
||||
'mode' : {'string': 'Mode', 'type': 'char'},
|
||||
'align' : {'string': 'Alignment ', 'type': 'selection'},
|
||||
'icon' : {'string': 'Icon', 'type': 'selection'},
|
||||
'type' : {'string': 'Type', 'type': 'selection'},
|
||||
'special' : {'string': 'Special', 'type': 'selection'},
|
||||
'target' : {'string': 'Target', 'type': 'selection'},
|
||||
'confirm' : {'string': 'Confirm', 'type': 'char'},
|
||||
'style' : {'string': 'Style', 'type': 'selection'},
|
||||
'filename' : {'string': 'File Name', 'type': 'char'},
|
||||
'width' : {'string': 'Width', 'type': 'char'},
|
||||
'height' : {'string': 'Height', 'type': 'char'},
|
||||
'groups' : {'string': 'Groups', 'type': 'seleciton_multi'},
|
||||
'attrs' : {'string': 'Attrs', 'type': 'char'},
|
||||
'col' : {'string': 'col', 'type': 'char'},
|
||||
'link' : {'string': 'Link', 'type': 'char'},
|
||||
'position' : {'string': 'Position', 'type': 'selection'},
|
||||
'states' : {'string': 'states', 'type': 'char'},
|
||||
'eval' : {'string': 'Eval', 'type': 'char'},
|
||||
'ref' : {'string': 'Ref', 'type': 'char'},
|
||||
'on_change' : {'string': 'On change', 'type': 'char'},
|
||||
'nolabel' : {'string': 'No label', 'type': 'boolean'},
|
||||
'completion' : {'string': 'Completion', 'type': 'boolean'},
|
||||
'colspan' : {'string': 'Colspan', 'type': 'char'},
|
||||
'widget' : {'string': 'widget', 'type': 'selection'},
|
||||
};
|
||||
var _ICONS = ['','STOCK_ABOUT', 'STOCK_ADD', 'STOCK_APPLY', 'STOCK_BOLD',
|
||||
'STOCK_CANCEL', 'STOCK_CDROM', 'STOCK_CLEAR', 'STOCK_CLOSE', 'STOCK_COLOR_PICKER',
|
||||
'STOCK_CONNECT', 'STOCK_CONVERT', 'STOCK_COPY', 'STOCK_CUT', 'STOCK_DELETE',
|
||||
|
|
Loading…
Reference in New Issue