Doc: more help on Model-Parented folders.
authorP. Christeas <p_christ@hol.gr>
Wed, 27 Oct 2010 10:23:23 +0000 (13:23 +0300)
committerP. Christeas <p_christ@hol.gr>
Wed, 27 Oct 2010 10:23:23 +0000 (13:23 +0300)
Their usage is a little cryptic, so help the user understand how they work.

bzr revid: p_christ@hol.gr-20101027102323-q0i1a5u6ausoj4uv

addons/document/document_directory.py

index 9b7ba18..c4df8a7 100644 (file)
@@ -58,8 +58,10 @@ class document_directory(osv.osv):
                     " be located. If false, only ones that have this as parent." ),
         'ressource_parent_type_id': fields.many2one('ir.model', 'Parent Model',
             help="If you put an object here, this directory template will appear bellow all of these objects. " \
+                 "Such directories are \"attached\" to the specific model or record, just like attachments. " \
                  "Don't put a parent directory if you select a parent model."),
-        'ressource_id': fields.integer('Resource ID'),
+        'ressource_id': fields.integer('Resource ID',
+            help="Along with Parent Model, this ID attaches this folder to a specific record of Parent Model."),
         'ressource_tree': fields.boolean('Tree Structure',
             help="Check this if you want to use the same tree structure as the object selected in the system."),
         'dctx_ids': fields.one2many('document.directory.dctx', 'dir_id', 'Context fields'),