Fixed multiple minor issues

This commit is contained in:
Nabin Hait
2016-11-14 11:10:22 +05:30
parent 598a0c918d
commit 256a3fef95
4 changed files with 10 additions and 9 deletions

View File

@@ -103,4 +103,5 @@ def update_contact(doc, method):
for key in ("first_name", "last_name", "phone"):
if doc.get(key):
contact.set(key, doc.get(key))
contact.flags.ignore_mandatory = True
contact.save(ignore_permissions=True)