[IMP] vieweditor:- default view select in manage view dialog box.
bzr revid: ysa@tinyerp.com-20111110110914-o5scsgjqoaedd4wr
This commit is contained in:
parent
7ed871bc0d
commit
014fc45592
|
@ -32,7 +32,8 @@ openerp.web.ViewEditor = openerp.web.Widget.extend({
|
|||
action_buttons: false,
|
||||
search_view: false,
|
||||
pager: false,
|
||||
radio: true
|
||||
radio: true,
|
||||
select_view_id: self.parent.fields_view.view_id
|
||||
},
|
||||
};
|
||||
this.view_edit_dialog = new openerp.web.Dialog(this, {
|
||||
|
|
|
@ -625,7 +625,7 @@
|
|||
</t>
|
||||
<t t-if="options.radio">
|
||||
<th t-if="options.selectable" class="oe-record-selector" width="1">
|
||||
<input type="radio" name ="radiogroup"/>
|
||||
<input type="radio" name ="radiogroup" t-att-checked="options.select_view_id == record.get('id')? true: null"/>
|
||||
</th>
|
||||
</t>
|
||||
<t t-if="!options.radio">
|
||||
|
|
Loading…
Reference in New Issue