chore: Remove code for Expense Claim from Project, Task, Delivery Trip

- Remove `total_expense_claim` field from Project and Task, will be installed with hrms setup

- Remove Expense Claim calculation from `update_costing` in project

- Remove `update_total_expense_claim` from task

- Remove Expense Claim references from employee form tour

- Remove 'Make Expense Claim' button from Delivery Trip, will only be available if hrms is installed

- Update delivery trip tests
This commit is contained in:
Rucha Mahabal
2022-06-23 19:48:42 +05:30
parent 1ff0e4519f
commit edb528ce41
8 changed files with 16 additions and 82 deletions

View File

@@ -129,7 +129,7 @@ frappe.tour['Employee'] = [
{
fieldname: "company",
title: "Company",
description: __("Select a Company this Employee belongs to. Other HR features like Payroll. Expense Claims and Leaves for this Employee will be created for a given company only.")
description: __("Select a Company this Employee belongs to.")
},
{
fieldname: "date_of_birth",
@@ -141,19 +141,9 @@ frappe.tour['Employee'] = [
title: "Date of Joining",
description: __("Select Date of joining. It will have impact on the first salary calculation, Leave allocation on pro-rata bases.")
},
{
fieldname: "holiday_list",
title: "Holiday List",
description: __("Select a default Holiday List for this Employee. The days listed in Holiday List will not be counted in Leave Application.")
},
{
fieldname: "reports_to",
title: "Reports To",
description: __("Here, you can select a senior of this Employee. Based on this, Organization Chart will be populated.")
},
{
fieldname: "leave_approver",
title: "Leave Approver",
description: __("Select Leave Approver for an employee. The user one who will look after his/her Leave application")
},
];