[FIX] wizard: typo.
authorVo Minh Thu <vmt@openerp.com>
Thu, 1 Dec 2011 12:06:43 +0000 (13:06 +0100)
committerVo Minh Thu <vmt@openerp.com>
Thu, 1 Dec 2011 12:06:43 +0000 (13:06 +0100)
bzr revid: vmt@openerp.com-20111201120643-ikr4v0piwpk0ydsu

openerp/wizard/__init__.py

index db4b769..3ba23fd 100644 (file)
@@ -51,7 +51,7 @@ class interface(netsvc.Service):
         warnings.warn(
             "The wizard %s uses the deprecated openerp.wizard.interface class.\n"
             "It must use the openerp.osv.TransientModel class instead." % \
-            self._name, DeprecationWarning, stacklevel=3)
+            name, DeprecationWarning, stacklevel=3)
         super(interface, self).__init__('wizard.'+name)
         self.wiz_name = name