We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62a0913 commit e861904Copy full SHA for e861904
src/base/0.0.0/end-no-respawn-fields.py
@@ -20,7 +20,7 @@ def migrate(cr, version):
20
"""
21
)
22
execute_values(
23
- getattr(cr, '_obj__') or cr._obj,
+ getattr(cr, '_obj__', None) or cr._obj,
24
"INSERT INTO no_respawn(model, field) VALUES %s",
25
# fmt:off
26
[
0 commit comments