Multiple delivery dates in Sales Order and make DN based on selected delivery dates (#9933)

* Multiple delivery dates in Sales Order and make DN based on selected delivery dates

* Test case and some other minor fixes

* Updated docs for multi delivery date

* removed the trailing whitespace

* removed the trailing whitespace

* removed trailing whitespace
This commit is contained in:
Nabin Hait
2017-07-20 10:30:59 +05:30
committed by Makarand Bauskar
parent ac9b1332d2
commit 8e0f23efc7
17 changed files with 208 additions and 69 deletions

View File

@@ -289,7 +289,7 @@ def get_credit_days(party_type, party, company):
credit_days_based_on, credit_days = \
frappe.db.get_value("Supplier Type", supplier_type, ["credit_days_based_on", "credit_days"])
if not (credit_days_based_on and credit_days):
if not credit_days_based_on:
credit_days_based_on, credit_days = \
frappe.db.get_value("Company", company, ["credit_days_based_on", "credit_days"])