projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
283304f
)
[FIX] openerp.wizard: forgot to remove the stacklevel kwarg.
author
Vo Minh Thu
<vmt@openerp.com>
Wed, 25 Jan 2012 14:27:02 +0000
(15:27 +0100)
committer
Vo 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
patch
|
blob
|
history
diff --git
a/openerp/wizard/__init__.py
b/openerp/wizard/__init__.py
index
3c22f80
..
7354a43
100644
(file)
--- a/
openerp/wizard/__init__.py
+++ b/
openerp/wizard/__init__.py
@@
-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