From d3f30baa8169bec1db40bb2e582931b623acb142 Mon Sep 17 00:00:00 2001 From: "Saurang Suthar(OpenERP)" <> Date: Wed, 25 Jul 2012 16:03:34 +0530 Subject: [IMP] Improved warning messages for document module bzr revid: pso@tinyerp.com-20120725103334-rx24b2aojluvxuap --- addons/document/document.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/document/document.py') diff --git a/addons/document/document.py b/addons/document/document.py index 5126fde2808..a8994992717 100644 --- a/addons/document/document.py +++ b/addons/document/document.py @@ -339,7 +339,7 @@ class document_file(osv.osv): if r: unres.append(r) else: - self.loggerdoc.warning("Unlinking attachment #%s %s that has no storage", + self.loggerdoc.warning("Unlinking attachment #%s %s that has no storage.", f.id, f.name) res = super(document_file, self).unlink(cr, uid, ids, context) stor.do_unlink(cr, uid, unres) -- cgit v1.2.3