projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f669d74
)
[FIX]attachment without fname_attachment.
author
vishmita
<vja@vja-desktop>
Wed, 11 Jan 2012 12:55:01 +0000
(18:25 +0530)
committer
vishmita
<vja@vja-desktop>
Wed, 11 Jan 2012 12:55:01 +0000
(18:25 +0530)
lp bug: https://launchpad.net/bugs/909069 fixed
bzr revid: vja@vja-desktop-
20120111125501
-3jh2u9oyvt92ble9
addons/web/controllers/main.py
patch
|
blob
|
history
diff --git
a/addons/web/controllers/main.py
b/addons/web/controllers/main.py
index
b640587
..
fd8d85f
100644
(file)
--- a/
addons/web/controllers/main.py
+++ b/
addons/web/controllers/main.py
@@
-1257,6
+1257,7
@@
class Binary(openerpweb.Controller):
attachment_id = Model.create({
'name': ufile.filename,
'datas': base64.encodestring(ufile.read()),
+ 'datas_fname': ufile.filename,
'res_model': model,
'res_id': int(id)
}, context)