mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-18 02:55:20 +00:00
Travis (#14354)
* Fix Purchase Receipt tests * Fix Item test * Fix daily work summary test * Modify currency exchange test cases * Fix Leave Application test * Update working hours when making salary slip from timesheet * Replace fixer.io with exchangeratesapi * Fix codacy
This commit is contained in:
@@ -381,6 +381,11 @@ def set_missing_values(time_sheet, target):
|
||||
target.start_date = doc.start_date
|
||||
target.end_date = doc.end_date
|
||||
target.posting_date = doc.modified
|
||||
target.total_working_hours = doc.total_hours
|
||||
target.append('timesheets', {
|
||||
'time_sheet': doc.name,
|
||||
'working_hours': doc.total_hours
|
||||
})
|
||||
|
||||
@frappe.whitelist()
|
||||
def get_activity_cost(employee=None, activity_type=None):
|
||||
|
||||
Reference in New Issue
Block a user