summaryrefslogtreecommitdiff
path: root/addons/document/document.py
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2011-08-18 18:14:35 +0200
committerOlivier Dony <odo@openerp.com>2011-08-18 18:14:35 +0200
commit4a13007dd84b32ba1a80cd97fd858164b077b947 (patch)
tree78b532d34c24ab58b15e6c2677f4f2b28ec63b1c /addons/document/document.py
parent1e27a50175223eb70cfbe30756125e57119a2595 (diff)
parent2357eb562e96c563793cfd4b1c34f9bfe87520dc (diff)
[MERGE] latest trunk
bzr revid: odo@openerp.com-20110818161435-pxl3djfdp84qvcei
Diffstat (limited to 'addons/document/document.py')
-rw-r--r--addons/document/document.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/document/document.py b/addons/document/document.py
index 90f57438ce8..69e123b87eb 100644
--- a/addons/document/document.py
+++ b/addons/document/document.py
@@ -117,7 +117,7 @@ class document_file(osv.osv):
# If ir.attachment contained any data before document is installed, preserve
# the data, don't drop the column!
'db_datas': fields.binary('Data', oldname='datas'),
- 'datas': fields.function(_data_get, method=True, fnct_inv=_data_set, string='File Content', type="binary", nodrop=True),
+ 'datas': fields.function(_data_get, fnct_inv=_data_set, string='File Content', type="binary", nodrop=True),
# Fields of document:
'user_id': fields.many2one('res.users', 'Owner', select=1),