← Back to team overview

openerp-india team mailing list archive

[Bug 1093868] [NEW] ir_attachment has no _logger defined

 

Public bug reported:

ir_attachment model has no _logger defined..
so insted of loggin an error we have a undefined logger exception to log :)

a litte: 
import logging
_logger = logging.getLogger(__name__)

on top of ir_attachment.py file should filx it?

** Affects: openobject-server
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1093868

Title:
  ir_attachment has no _logger defined

Status in OpenERP Server:
  New

Bug description:
  ir_attachment model has no _logger defined..
  so insted of loggin an error we have a undefined logger exception to log :)

  a litte: 
  import logging
  _logger = logging.getLogger(__name__)

  on top of ir_attachment.py file should filx it?

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1093868/+subscriptions


Follow ups

References