from osv import fields, osv
import tools
-import time
class res_log(osv.osv):
_name = 'res.log'
return unread_logs
def search(self, cr, uid, args, offset=0, limit=None, order=None, context=None, count=False):
- res = []
log_ids = super(res_log, self).search(cr, uid, args, offset, limit, order, context, count)
logs = {}
for log in self.browse(cr, uid, log_ids, context=context):
resprint = ir_values_obj.get(cr, user, 'action',
'client_print_multi', [(self._name, False)], False,
context)
- resaction = []
resaction = ir_values_obj.get(cr, user, 'action',
'client_action_multi', [(self._name, False)], False,
context)