[FIX] openerp.wizard: forgot to remove the stacklevel kwarg.

bzr revid: vmt@openerp.com-20120125142702-msp38vncnrv9hvcs
This commit is contained in:
Vo Minh Thu 2012-01-25 15:27:02 +01:00
parent 283304f9a2
commit a83bf232ee
1 changed files with 1 additions and 1 deletions

View 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