diff options
| author | psi (Open ERP) <psi@tinyerp.co.in> | 2011-07-06 12:38:58 +0530 |
|---|---|---|
| committer | psi (Open ERP) <psi@tinyerp.co.in> | 2011-07-06 12:38:58 +0530 |
| commit | 3340800d0d397fdac2aa121976a528d882e75cc4 (patch) | |
| tree | 7ac75b7f45e6f6133b4a82acef416cfdbcd7ffc2 /addons/document/document.py | |
| parent | 45ca41f9b1c166456cbf7b5f12412fe07ea5811d (diff) | |
| parent | 0d2f870ee53c2299dc9de262a0f0c78d42e19bee (diff) | |
[MERGE] base_vat: Merge with main base_vat project branch
bzr revid: psi@tinyerp.co.in-20110706070858-4m2x6lbdvpjip9aw
Diffstat (limited to 'addons/document/document.py')
| -rw-r--r-- | addons/document/document.py | 2 |
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), |
