[enhance] make PO from SO if supplier is specified

This commit is contained in:
Saurabh
2015-10-20 16:27:16 +05:30
parent a4efbf0db7
commit 5e0b0b4b97
4 changed files with 18 additions and 7 deletions

View File

@@ -221,7 +221,7 @@ class StatusUpdater(Document):
else:
if self.doctype=="Delivery Note":
args["drop_ship_cond"] = " and is_drop_ship!=1 "
args["drop_ship_cond"] = " and is_drop_ship!=1 and supplier = '' "
for name in unique_transactions:
if not name: