Test case fixes (#14219)

* Test case fixes

* fetch_from fixes
This commit is contained in:
Nabin Hait
2018-05-26 09:09:02 +05:30
committed by GitHub
parent d09a6c9ccb
commit 33df0b4fbf
18 changed files with 63 additions and 50 deletions

View File

@@ -343,6 +343,7 @@ def make_sales_invoice(source_name, item_code=None, customer=None):
billing_amount = flt(timesheet.total_billable_amount) - flt(timesheet.total_billed_amount)
billing_rate = billing_amount / hours
target.company = timesheet.company
if customer:
target.customer = customer