[FIX] base: cleanup debugging code mistakenly checked in
authorOlivier Dony <odo@openerp.com>
Mon, 28 Jun 2010 09:36:29 +0000 (11:36 +0200)
committerOlivier Dony <odo@openerp.com>
Mon, 28 Jun 2010 09:36:29 +0000 (11:36 +0200)
bzr revid: odo@openerp.com-20100628093629-0dxm8l4ph7jq0biy

bin/addons/base/ir/ir_actions.py
bin/addons/base/ir/ir_values.py
bin/addons/base/res/res_config.py

index 8d5c355..4cbce73 100644 (file)
@@ -523,7 +523,6 @@ class actions_server(osv.osv):
     #   ACTION_ID : Action to launch
 
     def run(self, cr, uid, ids, context={}):
-        print 'Run Server Action'
         logger = netsvc.Logger()
         for action in self.browse(cr, uid, ids, context):
             obj_pool = self.pool.get(action.model_id.model)
@@ -537,9 +536,7 @@ class actions_server(osv.osv):
                 'uid' : uid
             }
             expr = eval(str(action.condition), cxt)
-            print expr, action.state
             if not expr:
-                print 'Not Expr'
                 continue
 
             if action.state=='client_action':
index f396841..d7baa6c 100644 (file)
@@ -76,13 +76,6 @@ class ir_values(osv.osv):
         'object': fields.boolean('Is Object'),
         'key': fields.selection([('action','Action'),('default','Default')], 'Type', size=128),
         'key2' : fields.char('Event Type',help="The kind of action or button in the client side that will trigger the action.", size=128),
-        #'key2' : fields.selection([('client_action_multi', 'client_action_multi'),
-        #                           ('client_action_relate', 'client_action_relate'),
-        #                           ('tree_but_open', 'tree_but_open'),
-        #                           ('tree_but_action', 'tree_but_action'),
-        #                           ('client_print_multi', 'client_print_multi')],
-        #                          'Event Type',
-        #                          help="The kind of action or button in the client side that will trigger the action."),
         'meta': fields.text('Meta Datas'),
         'meta_unpickle': fields.function(_value_unpickle, fnct_inv=_value_pickle,
             method=True, type='text', string='Metadata'),
index 5608654..1c6b69a 100644 (file)
@@ -114,14 +114,6 @@ class res_config_configurable(osv.osv_memory):
                                   'next action is %s' % next)
         if next:
             action = next.action_id
-            print {
-                'view_mode': action.view_mode,
-                'view_type': action.view_type,
-                'view_id': action.view_id and [action.view_id.id] or False,
-                'res_model': action.res_model,
-                'type': action.type,
-                'target': action.target,
-            }
             return {
                 'view_mode': action.view_mode,
                 'view_type': action.view_type,