Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions orm_mongodb.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ def _auto_init(self, cr, context=None):
except pymongo.errors.OperationFailure as e:
if e.details and "An existing index has the same name as the requested index" in e.details.get("errmsg", " "):
pass
elif e.details and "An equivalent index" in e.details.get("errmsg", " "):
pass
elif e.details and "already exists with different options" in e.details.get("errmsg", " "):
pass
else:
Expand Down
Loading