Mohammed Shekha(Open ERP) has proposed merging 
lp:~openerp-dev/openobject-server/6.0-opw-56037-msh into 
lp:openobject-server/6.0.

Requested reviews:
  OpenERP Core Team (openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-server/6.0-opw-56037-msh/+merge/87465

Hello,

Fixed the issue of res_log which was not working in incoming shipment while 
opening the log from web-client.

Demo:- Create one PO with "From Picking" as inventory control, convert it to 
"Convert to Purchase Order", Now go to warehouse and open incoming shipment for 
that PO and proces it, create invoice.

Now you will see new tab will be opened for invoice but there will be log link 
in old tab which is not working, it gives traceback.

Reason:- The reason is we have character field for context in res.log object 
which has size=250 and context is comig more 250 characters so whole character 
is not stored that's why we are getting traceback in web-client when try to 
open it in web-client.

Thanks.
-- 
https://code.launchpad.net/~openerp-dev/openobject-server/6.0-opw-56037-msh/+merge/87465
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-server/6.0-opw-56037-msh.
=== modified file 'bin/addons/base/res/res_log.py'
--- bin/addons/base/res/res_log.py	2010-12-08 17:03:50 +0000
+++ bin/addons/base/res/res_log.py	2012-01-04 12:10:41 +0000
@@ -27,7 +27,7 @@
         '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),

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to