[FIX] openerp.wizard: forgot to remove the stacklevel kwarg.
authorVo Minh Thu <vmt@openerp.com>
Wed, 25 Jan 2012 14:27:02 +0000 (15:27 +0100)
committerVo Minh Thu <vmt@openerp.com>
Wed, 25 Jan 2012 14:27:02 +0000 (15:27 +0100)
bzr revid: vmt@openerp.com-20120125142702-msp38vncnrv9hvcs

openerp/wizard/__init__.py

index 3c22f80..7354a43 100644 (file)
@@ -53,7 +53,7 @@ class interface(netsvc.Service):
         _logger.warning(
             "The wizard %s uses the deprecated openerp.wizard.interface class.\n"
             "It must use the openerp.osv.TransientModel class instead." % \
-            name, DeprecationWarning, stacklevel=3)
+            name)
         super(interface, self).__init__('wizard.'+name)
         self.wiz_name = name