diff options
| author | Antonin Bourguignon <abo@openerp.com> | 2012-08-06 19:08:41 +0200 |
|---|---|---|
| committer | Antonin Bourguignon <abo@openerp.com> | 2012-08-06 19:08:41 +0200 |
| commit | a52eeef5194b5fdab2b1d659f383c7589a2ebb98 (patch) | |
| tree | b494ed4d9c36efccba46a2814bea097af47b57f7 /addons/document_webdav/document_webdav.py | |
| parent | d928b07ace2b1f9b8a50ef11075cbea0fa9a6060 (diff) | |
[IMP] rephrase some error and warning messages in document, edi, google_base_account, mrp and mrp_repair
remove exclamation marks at the end of messages
remove unjustified capital letters
bzr revid: abo@openerp.com-20120806170841-cx9vuend1vglmsqk
Diffstat (limited to 'addons/document_webdav/document_webdav.py')
| -rw-r--r-- | addons/document_webdav/document_webdav.py | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/addons/document_webdav/document_webdav.py b/addons/document_webdav/document_webdav.py index 4388c92b004..f53353dd43c 100644 --- a/addons/document_webdav/document_webdav.py +++ b/addons/document_webdav/document_webdav.py @@ -43,7 +43,7 @@ class document_davdir(osv.osv): elif dbro.type == 'ressource': return nodes.node_res_dir else: - raise ValueError("Directory node for %s type", dbro.type) + raise ValueError("Directory node for %s type.", dbro.type) def _prepare_context(self, cr, uid, nctx, context=None): nctx.node_file_class = nodes.node_file @@ -67,18 +67,18 @@ document_davdir() class dav_dir_property(osv.osv): """ Arbitrary WebDAV properties, attached to document.directories. - + Some DAV properties have to be settable at directories, depending on the database directory structure. - + Example would be the principal-URL. - + There _can_ be properties without a directory, which means that they globally apply to all the directories (aka. collections) of the present database. """ _name = 'document.webdav.dir.property' - + _columns = { 'create_date': fields.datetime('Date Created', readonly=True), 'create_uid': fields.many2one('res.users', 'Creator', readonly=True), @@ -90,25 +90,25 @@ class dav_dir_property(osv.osv): 'value': fields.text('Value'), 'do_subst': fields.boolean('Substitute', required=True), } - + _defaults = { 'do_subst': False, } - + dav_dir_property() class dav_file_property(osv.osv): """ Arbitrary WebDAV properties, attached to ir.attachments. - + A special case is the locks that can be applied on file nodes. - + There _can_ be properties without a file (RFC?), which means that they globally apply to all the attachments of the present database. - + TODO access permissions, per property. """ _name = 'document.webdav.file.property' - + _columns = { 'create_date': fields.datetime('Date Created', readonly=True), 'create_uid': fields.many2one('res.users', 'Creator', readonly=True), @@ -120,11 +120,11 @@ class dav_file_property(osv.osv): 'value': fields.text('Value'), 'do_subst': fields.boolean('Substitute', required=True), } - + _defaults = { 'do_subst': False, } - + dav_file_property() #eof |
