Skip to content

Commit e861904

Browse files
committed
fixup! [IMP] util,base: use cursor's psycopg2 objects new name
1 parent 62a0913 commit e861904

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/base/0.0.0/end-no-respawn-fields.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def migrate(cr, version):
2020
"""
2121
)
2222
execute_values(
23-
getattr(cr, '_obj__') or cr._obj,
23+
getattr(cr, '_obj__', None) or cr._obj,
2424
"INSERT INTO no_respawn(model, field) VALUES %s",
2525
# fmt:off
2626
[

0 commit comments

Comments
 (0)