summaryrefslogtreecommitdiff
path: root/addons/document/document.py
diff options
context:
space:
mode:
authorrpa (Open ERP) <rpa@tinyerp.com>2010-04-07 18:48:54 +0530
committerrpa (Open ERP) <rpa@tinyerp.com>2010-04-07 18:48:54 +0530
commit62115d03dc867ccff9aa304b27587e9c048d6e35 (patch)
tree44a57d1cbb5bc5534f815e5e74459711ba0ae33c /addons/document/document.py
parent23958f40bf801edddfc4082932278192b361d84b (diff)
[FIX]: document: Corrected relation table with group
bzr revid: rpa@tinyerp.com-20100407131854-wa3avfr60zxh52te
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 f6cbddebae7..2b2ac2f7587 100644
--- a/addons/document/document.py
+++ b/addons/document/document.py
@@ -73,7 +73,7 @@ class document_file(osv.osv):
_columns = {
'user_id': fields.many2one('res.users', 'Owner', select=1),
- 'group_ids': fields.many2many('res.groups', 'document_directory_group_rel', 'item_id', 'group_id', 'Groups'),
+ 'group_ids': fields.many2many('res.groups', 'document_group_rel', 'item_id', 'group_id', 'Groups'),
# the directory id now is mandatory. It can still be computed automatically.
'parent_id': fields.many2one('document.directory', 'Directory', select=1, required=True),
'file_size': fields.integer('File Size', required=True),