random time fix and other minor fixes

This commit is contained in:
Zlash65
2018-09-27 18:51:18 +05:30
parent 143d4da901
commit dcf7401104
5 changed files with 27 additions and 24 deletions

View File

@@ -56,7 +56,7 @@ def work():
if random.random() < 0.5:
make_payment_entries("Purchase Invoice", "Accounts Payable")
if random.random() < 0.1:
if random.random() < 0.4:
#make payment request against sales invoice
sales_invoice_name = get_random("Sales Invoice", filters={"docstatus": 1})
if sales_invoice_name: