minor fixes in dropship

This commit is contained in:
Nabin Hait 2018-08-31 17:04:43 +05:30
parent 2e5c776293
commit f1a3fbdb6b

View File

@ -730,7 +730,7 @@ def get_events(start, end, filters=None):
return data
@frappe.whitelist()
def make_purchase_order_for_drop_shipment(source_name, for_supplier, target_doc=None):
def make_purchase_order_for_drop_shipment(source_name, for_supplier=None, target_doc=None):
def set_missing_values(source, target):
target.supplier = supplier
target.apply_discount_on = ""