[fixes][rename-field-name] drop_ship to is_drop_ship

This commit is contained in:
Saurabh
2015-10-19 16:45:46 +05:30
parent bd65cb8817
commit 1a9646739a
3 changed files with 5 additions and 5 deletions

View File

@@ -215,8 +215,8 @@ class StatusUpdater(Document):
args["drop_ship_cond"] = ''
if getattr(self, "drop_ship", None):
if self.drop_ship == 1:
if getattr(self, "is_drop_ship", None):
if self.is_drop_ship == 1:
args["drop_ship_cond"] = " and is_drop_ship=1 "
else: