diff options
| author | Antony Lesuisse <al@openerp.com> | 2012-12-09 20:43:52 +0100 |
|---|---|---|
| committer | Antony Lesuisse <al@openerp.com> | 2012-12-09 20:43:52 +0100 |
| commit | 87c87679999fd414b7dbaf2df3043ec0bc67178f (patch) | |
| tree | dee7b872668108e34375927a749da24fbf61431b /addons/document | |
| parent | 2f1f17ead970021a6571687f0add5586188c72ac (diff) | |
[FIX] required on boolean warning
bzr revid: al@openerp.com-20121209194352-j6sv17tzh3bz4e1u
Diffstat (limited to 'addons/document')
| -rw-r--r-- | addons/document/document_directory.py | 2 | ||||
| -rw-r--r-- | addons/document/document_storage.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/addons/document/document_directory.py b/addons/document/document_directory.py index ec51d9bcc6c..58492b87222 100644 --- a/addons/document/document_directory.py +++ b/addons/document/document_directory.py @@ -53,7 +53,7 @@ class document_directory(osv.osv): 'ressource_type_id': fields.many2one('ir.model', 'Resource model', change_default=True, help="Select an object here and there will be one folder per record of that resource."), 'resource_field': fields.many2one('ir.model.fields', 'Name field', help='Field to be used as name on resource directories. If empty, the "name" will be used.'), - 'resource_find_all': fields.boolean('Find all resources', required=True, + 'resource_find_all': fields.boolean('Find all resources', help="If true, all attachments that match this resource will " \ " be located. If false, only ones that have this as parent." ), 'ressource_parent_type_id': fields.many2one('ir.model', 'Parent Model', change_default=True, diff --git a/addons/document/document_storage.py b/addons/document/document_storage.py index 21cb4f9dcf4..a4b37b126b2 100644 --- a/addons/document/document_storage.py +++ b/addons/document/document_storage.py @@ -349,7 +349,7 @@ class document_storage(osv.osv): 'type': fields.selection([('db', 'Database'), ('filestore', 'Internal File storage'), ('realstore','External file storage'),], 'Type', required=True), 'path': fields.char('Path', size=250, select=1, help="For file storage, the root path of the storage"), - 'online': fields.boolean('Online', help="If not checked, media is currently offline and its contents not available", required=True), + 'online': fields.boolean('Online', help="If not checked, media is currently offline and its contents not available"), 'readonly': fields.boolean('Read Only', help="If set, media is for reading only"), } |
