diff options
| author | Xavier Morel <xmo@openerp.com> | 2012-01-10 16:51:06 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2012-01-10 16:51:06 +0100 |
| commit | 8fd07cc0b802c5bc6290a0d2bed23ecb00e9ac03 (patch) | |
| tree | 5cef0aa4f22e8774c3a8ce724489dcf634cede0e /addons/web/static/src/xml/base.xml | |
| parent | 658a8e97c0543a16bc93aa461293127017087d4d (diff) | |
| parent | d54a19681110663aa8016f73b70c1663cc2a2b10 (diff) | |
[ADD] handling of binary fields in list views
lp bug: https://launchpad.net/bugs/914267 fixed
bzr revid: xmo@openerp.com-20120110155106-p3g85wbh5g4wlbdi
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index d4bb5122500..642f1f89709 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -748,7 +748,7 @@ <li t-foreach="attachments" t-as="attachment"> <t t-if="attachment.type == 'binary'" t-set="attachment.url" t-value="_s + '/web/binary/saveas?session_id=' + session.session_id + '&model=ir.attachment&id=' + attachment.id - + '&field=datas&fieldname=name&t=' + (new Date().getTime())"/> + + '&field=datas&filename_field=name&t=' + (new Date().getTime())"/> <a class="oe-sidebar-attachments-link" t-att-href="attachment.url" target="_blank"> <t t-esc="attachment.name"/> </a> |
