[FIX]Fixed the issue of res_log which has char field for context so whole context...
authorMohammed Shekha (Open ERP) <msh@tinyerp.com>
Wed, 4 Jan 2012 11:43:33 +0000 (17:13 +0530)
committerMohammed Shekha (Open ERP) <msh@tinyerp.com>
Wed, 4 Jan 2012 11:43:33 +0000 (17:13 +0530)
bzr revid: msh@tinyerp.com-20120104114333-gv7n0lynosgky9it

bin/addons/base/res/res_log.py

index 26e1eae..d9894e4 100644 (file)
@@ -27,7 +27,7 @@ class res_log(osv.osv):
         'name': fields.char('Message', size=250, help='The logging message.', required=True, select=1),
         'user_id': fields.many2one('res.users','User'),
         'res_model': fields.char('Object', size=128, select=1),
-        'context': fields.char('Context', size=250),
+        'context': fields.text('Context'),
         'res_id': fields.integer('Object ID'),
         'secondary': fields.boolean('Secondary Log', help='Do not display this log if it belongs to the same object the user is working on'),
         'create_date': fields.datetime('Creation Date', readonly=True, select=1),