五、 OpenERP 输出日志

 import logging
from openerp.osv import orm _logger = logging.getLogger(__name__) class project_task_work(orm.Model):
_inherit = 'project.task.work' def create(self, cr, uid, vals, context=None):
_logger.debug('Create a %s with vals %s', self._name, vals)
return super(project_task_work, self).create(cr, uid, vals, context=context)
上一篇:数据库比较工具DBCompareTool for Oracle 0.2.5发布


下一篇:实测 windows下nginx很不稳定,换成squid好多了