-
Notifications
You must be signed in to change notification settings - Fork 741
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Travel Request): get currency from Employee Master's Company (bac…
…kport #1807) (#1819) * fix(Travel Request): get currency from Employee Master's Company (#1807) (cherry picked from commit 533b968) # Conflicts: # hrms/hr/doctype/travel_request/travel_request.json # hrms/hr/doctype/travel_request_costing/travel_request_costing.json * chore: fix conficts --------- Co-authored-by: Viny Selopal <[email protected]> Co-authored-by: Rucha Mahabal <[email protected]>
- Loading branch information
1 parent
5d39656
commit 515a44b
Showing
2 changed files
with
72 additions
and
248 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
307 changes: 61 additions & 246 deletions
307
hrms/hr/doctype/travel_request_costing/travel_request_costing.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,257 +1,72 @@ | ||
{ | ||
"allow_copy": 0, | ||
"allow_guest_to_view": 0, | ||
"allow_import": 0, | ||
"allow_rename": 0, | ||
"beta": 0, | ||
"creation": "2018-05-15 10:28:37.429581", | ||
"custom": 0, | ||
"docstatus": 0, | ||
"doctype": "DocType", | ||
"document_type": "", | ||
"editable_grid": 1, | ||
"engine": "InnoDB", | ||
"actions": [], | ||
"creation": "2018-05-15 10:28:37.429581", | ||
"doctype": "DocType", | ||
"editable_grid": 1, | ||
"engine": "InnoDB", | ||
"field_order": [ | ||
"expense_type", | ||
"column_break_2", | ||
"sponsored_amount", | ||
"funded_amount", | ||
"total_amount", | ||
"section_break_4", | ||
"comments" | ||
], | ||
"fields": [ | ||
{ | ||
"allow_bulk_edit": 0, | ||
"allow_on_submit": 0, | ||
"bold": 0, | ||
"collapsible": 0, | ||
"columns": 0, | ||
"fieldname": "expense_type", | ||
"fieldtype": "Link", | ||
"hidden": 0, | ||
"ignore_user_permissions": 0, | ||
"ignore_xss_filter": 0, | ||
"in_filter": 0, | ||
"in_global_search": 0, | ||
"in_list_view": 1, | ||
"in_standard_filter": 0, | ||
"label": "Expense Type", | ||
"length": 0, | ||
"no_copy": 0, | ||
"options": "Expense Claim Type", | ||
"permlevel": 0, | ||
"precision": "", | ||
"print_hide": 0, | ||
"print_hide_if_no_value": 0, | ||
"read_only": 0, | ||
"remember_last_selected_value": 0, | ||
"report_hide": 0, | ||
"reqd": 0, | ||
"search_index": 0, | ||
"set_only_once": 0, | ||
"translatable": 0, | ||
"unique": 0 | ||
}, | ||
"fieldname": "expense_type", | ||
"fieldtype": "Link", | ||
"in_list_view": 1, | ||
"label": "Expense Type", | ||
"options": "Expense Claim Type" | ||
}, | ||
{ | ||
"allow_bulk_edit": 0, | ||
"allow_on_submit": 0, | ||
"bold": 0, | ||
"collapsible": 0, | ||
"columns": 0, | ||
"fieldname": "column_break_2", | ||
"fieldtype": "Column Break", | ||
"hidden": 0, | ||
"ignore_user_permissions": 0, | ||
"ignore_xss_filter": 0, | ||
"in_filter": 0, | ||
"in_global_search": 0, | ||
"in_list_view": 0, | ||
"in_standard_filter": 0, | ||
"length": 0, | ||
"no_copy": 0, | ||
"permlevel": 0, | ||
"precision": "", | ||
"print_hide": 0, | ||
"print_hide_if_no_value": 0, | ||
"read_only": 0, | ||
"remember_last_selected_value": 0, | ||
"report_hide": 0, | ||
"reqd": 0, | ||
"search_index": 0, | ||
"set_only_once": 0, | ||
"translatable": 0, | ||
"unique": 0 | ||
}, | ||
"fieldname": "column_break_2", | ||
"fieldtype": "Column Break" | ||
}, | ||
{ | ||
"allow_bulk_edit": 0, | ||
"allow_on_submit": 0, | ||
"bold": 0, | ||
"collapsible": 0, | ||
"columns": 0, | ||
"fieldname": "sponsored_amount", | ||
"fieldtype": "Currency", | ||
"hidden": 0, | ||
"ignore_user_permissions": 0, | ||
"ignore_xss_filter": 0, | ||
"in_filter": 0, | ||
"in_global_search": 0, | ||
"in_list_view": 1, | ||
"in_standard_filter": 0, | ||
"label": "Sponsored Amount", | ||
"length": 0, | ||
"no_copy": 0, | ||
"permlevel": 0, | ||
"precision": "", | ||
"print_hide": 0, | ||
"print_hide_if_no_value": 0, | ||
"read_only": 0, | ||
"remember_last_selected_value": 0, | ||
"report_hide": 0, | ||
"reqd": 0, | ||
"search_index": 0, | ||
"set_only_once": 0, | ||
"translatable": 0, | ||
"unique": 0 | ||
}, | ||
"fieldname": "sponsored_amount", | ||
"fieldtype": "Currency", | ||
"in_list_view": 1, | ||
"label": "Sponsored Amount", | ||
"options": "Company:company:default_currency" | ||
}, | ||
{ | ||
"allow_bulk_edit": 0, | ||
"allow_on_submit": 0, | ||
"bold": 0, | ||
"collapsible": 0, | ||
"columns": 0, | ||
"fieldname": "funded_amount", | ||
"fieldtype": "Currency", | ||
"hidden": 0, | ||
"ignore_user_permissions": 0, | ||
"ignore_xss_filter": 0, | ||
"in_filter": 0, | ||
"in_global_search": 0, | ||
"in_list_view": 1, | ||
"in_standard_filter": 0, | ||
"label": "Funded Amount", | ||
"length": 0, | ||
"no_copy": 0, | ||
"permlevel": 0, | ||
"precision": "", | ||
"print_hide": 0, | ||
"print_hide_if_no_value": 0, | ||
"read_only": 0, | ||
"remember_last_selected_value": 0, | ||
"report_hide": 0, | ||
"reqd": 0, | ||
"search_index": 0, | ||
"set_only_once": 0, | ||
"translatable": 0, | ||
"unique": 0 | ||
}, | ||
"fieldname": "funded_amount", | ||
"fieldtype": "Currency", | ||
"in_list_view": 1, | ||
"label": "Funded Amount", | ||
"options": "Company:company:default_currency" | ||
}, | ||
{ | ||
"allow_bulk_edit": 0, | ||
"allow_on_submit": 0, | ||
"bold": 0, | ||
"collapsible": 0, | ||
"columns": 0, | ||
"fieldname": "total_amount", | ||
"fieldtype": "Currency", | ||
"hidden": 0, | ||
"ignore_user_permissions": 0, | ||
"ignore_xss_filter": 0, | ||
"in_filter": 0, | ||
"in_global_search": 0, | ||
"in_list_view": 1, | ||
"in_standard_filter": 0, | ||
"label": "Total Amount", | ||
"length": 0, | ||
"no_copy": 0, | ||
"permlevel": 0, | ||
"precision": "", | ||
"print_hide": 0, | ||
"print_hide_if_no_value": 0, | ||
"read_only": 0, | ||
"remember_last_selected_value": 0, | ||
"report_hide": 0, | ||
"reqd": 0, | ||
"search_index": 0, | ||
"set_only_once": 0, | ||
"translatable": 0, | ||
"unique": 0 | ||
}, | ||
"fieldname": "total_amount", | ||
"fieldtype": "Currency", | ||
"in_list_view": 1, | ||
"label": "Total Amount", | ||
"options": "Company:company:default_currency" | ||
}, | ||
{ | ||
"allow_bulk_edit": 0, | ||
"allow_on_submit": 0, | ||
"bold": 0, | ||
"collapsible": 0, | ||
"columns": 0, | ||
"fieldname": "section_break_4", | ||
"fieldtype": "Section Break", | ||
"hidden": 0, | ||
"ignore_user_permissions": 0, | ||
"ignore_xss_filter": 0, | ||
"in_filter": 0, | ||
"in_global_search": 0, | ||
"in_list_view": 0, | ||
"in_standard_filter": 0, | ||
"length": 0, | ||
"no_copy": 0, | ||
"permlevel": 0, | ||
"precision": "", | ||
"print_hide": 0, | ||
"print_hide_if_no_value": 0, | ||
"read_only": 0, | ||
"remember_last_selected_value": 0, | ||
"report_hide": 0, | ||
"reqd": 0, | ||
"search_index": 0, | ||
"set_only_once": 0, | ||
"translatable": 0, | ||
"unique": 0 | ||
}, | ||
"fieldname": "section_break_4", | ||
"fieldtype": "Section Break" | ||
}, | ||
{ | ||
"allow_bulk_edit": 0, | ||
"allow_on_submit": 0, | ||
"bold": 0, | ||
"collapsible": 0, | ||
"columns": 0, | ||
"fieldname": "comments", | ||
"fieldtype": "Small Text", | ||
"hidden": 0, | ||
"ignore_user_permissions": 0, | ||
"ignore_xss_filter": 0, | ||
"in_filter": 0, | ||
"in_global_search": 0, | ||
"in_list_view": 0, | ||
"in_standard_filter": 0, | ||
"label": "Comments", | ||
"length": 0, | ||
"no_copy": 0, | ||
"permlevel": 0, | ||
"precision": "", | ||
"print_hide": 0, | ||
"print_hide_if_no_value": 0, | ||
"read_only": 0, | ||
"remember_last_selected_value": 0, | ||
"report_hide": 0, | ||
"reqd": 0, | ||
"search_index": 0, | ||
"set_only_once": 0, | ||
"translatable": 0, | ||
"unique": 0 | ||
"fieldname": "comments", | ||
"fieldtype": "Small Text", | ||
"label": "Comments" | ||
} | ||
], | ||
"has_web_view": 0, | ||
"hide_heading": 0, | ||
"hide_toolbar": 0, | ||
"idx": 0, | ||
"image_view": 0, | ||
"in_create": 0, | ||
"is_submittable": 0, | ||
"issingle": 0, | ||
"istable": 1, | ||
"max_attachments": 0, | ||
"modified": "2018-05-15 10:42:07.960530", | ||
"modified_by": "Administrator", | ||
"module": "HR", | ||
"name": "Travel Request Costing", | ||
"name_case": "", | ||
"owner": "Administrator", | ||
"permissions": [], | ||
"quick_entry": 1, | ||
"read_only": 0, | ||
"read_only_onload": 0, | ||
"show_name_in_global_search": 0, | ||
"sort_field": "modified", | ||
"sort_order": "DESC", | ||
"track_changes": 1, | ||
"track_seen": 0 | ||
], | ||
"istable": 1, | ||
"links": [], | ||
"modified": "2024-05-24 12:00:47.413806", | ||
"modified_by": "Administrator", | ||
"module": "HR", | ||
"name": "Travel Request Costing", | ||
"owner": "Administrator", | ||
"permissions": [], | ||
"quick_entry": 1, | ||
"sort_field": "creation", | ||
"sort_order": "DESC", | ||
"states": [], | ||
"track_changes": 1 | ||
} |