diff options
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index b119e5aae3c..5013f6423a4 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -682,7 +682,9 @@ </td> </t> <th t-if="options.selectable" class="oe-record-selector" width="1"> - <input t-att-type="options.radio? 'radio': 'checkbox'" name ="radiogroup" t-att-checked="options.select_view_id == record.get('id')? true: null"/> + <t t-set="checked" t-value="options.select_view_id == record.get('id') ? 'checked' : null"/> + <input t-if="options.radio" type="radio" name="radiogroup" t-att-checked="checked"/> + <input t-if="!options.radio" type="checkbox" name="radiogroup" t-att-checked="checked"/> </th> <th t-if="options.isClarkGable" class="oe-record-edit-link" width="1"> <img src="/web/static/src/img/pencil.gif" width="12" height="12" class="oe-record-edit-link-img"/> @@ -747,7 +749,7 @@ <input type="file" class="oe-binary-file" name="ufile" title="Add attachment" t-att-onclick="view.datarecord.id ? null : 'alert(\'No record selected ! You can only attach to existing record.\'); return false;'"/> </form> - <iframe t-attf-id="#{element_id}_iframe" t-attf-name="#{element_id}_iframe" style="display: none"> </iframe> + <iframe t-attf-id="#{element_id}_iframe" t-attf-name="#{element_id}_iframe" style="display: none"/> </div> </div> <br style="clear: both"/> @@ -1084,7 +1086,7 @@ <img t-att-src='_s + "/web/static/src/img/throbber.gif"' width="16" height="16"/> <b>Uploading ...</b> </div> - <iframe t-att-id="widget.iframe" t-att-name="widget.iframe" style="display: none"> </iframe> + <iframe t-att-id="widget.iframe" t-att-name="widget.iframe" style="display: none"/> </td> </tr> </table> @@ -1134,7 +1136,7 @@ <td class="oe-binary-progress" style="display: none" nowrap="true"> <img t-att-src='_s + "/web/static/src/img/throbber.gif"' width="16" height="16"/> <b>Uploading ...</b> - <iframe t-att-id="widget.iframe" t-att-name="widget.iframe" style="display: none"> </iframe> + <iframe t-att-id="widget.iframe" t-att-name="widget.iframe" style="display: none"/> </td> </tr> </table> |
