Cleanup of PO schedule date pull requests

This commit is contained in:
Nabin Hait
2017-10-05 19:51:10 +05:30
18 changed files with 156 additions and 70 deletions

View File

@@ -129,6 +129,7 @@ def make_subcontract():
po = frappe.new_doc("Purchase Order")
po.is_subcontracted = "Yes"
po.supplier = get_random("Supplier")
po.schedule_date = frappe.utils.add_days(frappe.flags.current_date, 7)
item_code = get_random("Item", {"is_sub_contracted_item": 1})