New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Created Eway Bill Report #14926
Created Eway Bill Report #14926
Changes from 1 commit
274c4a7
94c95bc
59cb0f9
0b74fcc
a7ae6d9
574d419
c7d580c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2587,6 +2587,36 @@ | |
"set_only_once": 0, | ||
"unique": 0 | ||
}, | ||
{ | ||
"allow_bulk_edit": 0, | ||
"allow_on_submit": 0, | ||
"bold": 0, | ||
"collapsible": 0, | ||
"columns": 0, | ||
"fieldname": "transporter_id", | ||
"fieldtype": "Data", | ||
"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": "Transporter ID", | ||
"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, | ||
"unique": 0 | ||
}, | ||
{ | ||
"allow_bulk_edit": 0, | ||
"allow_on_submit": 0, | ||
|
@@ -2620,6 +2650,67 @@ | |
"unique": 0, | ||
"width": "150px" | ||
}, | ||
{ | ||
"allow_bulk_edit": 0, | ||
"allow_on_submit": 0, | ||
"bold": 0, | ||
"collapsible": 0, | ||
"columns": 0, | ||
"fieldname": "transport_mode", | ||
"fieldtype": "Select", | ||
"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": "Transport Mode", | ||
"length": 0, | ||
"no_copy": 0, | ||
"options": "\nRoad\nAir\nRail\nShip", | ||
"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, | ||
"unique": 0 | ||
}, | ||
{ | ||
"allow_bulk_edit": 0, | ||
"allow_on_submit": 0, | ||
"bold": 0, | ||
"collapsible": 0, | ||
"columns": 0, | ||
"fieldname": "distance", | ||
"fieldtype": "Float", | ||
"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": "Distance", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Distance (Km)? |
||
"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, | ||
"unique": 0 | ||
}, | ||
{ | ||
"allow_bulk_edit": 0, | ||
"allow_on_submit": 0, | ||
|
@@ -2650,6 +2741,67 @@ | |
"unique": 0, | ||
"width": "50%" | ||
}, | ||
{ | ||
"allow_bulk_edit": 0, | ||
"allow_on_submit": 0, | ||
"bold": 0, | ||
"collapsible": 0, | ||
"columns": 0, | ||
"fieldname": "vehicle_no", | ||
"fieldtype": "Data", | ||
"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": "Vehicle No", | ||
"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, | ||
"unique": 0 | ||
}, | ||
{ | ||
"allow_bulk_edit": 0, | ||
"allow_on_submit": 0, | ||
"bold": 0, | ||
"collapsible": 0, | ||
"columns": 0, | ||
"fieldname": "vehicle_type", | ||
"fieldtype": "Select", | ||
"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": "Vehicle Type", | ||
"length": 0, | ||
"no_copy": 0, | ||
"options": "\nRegular\nODC", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Avoid using short form (ODC) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
"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, | ||
"unique": 0 | ||
}, | ||
{ | ||
"allow_bulk_edit": 0, | ||
"allow_on_submit": 0, | ||
|
@@ -2666,7 +2818,7 @@ | |
"in_global_search": 0, | ||
"in_list_view": 0, | ||
"in_standard_filter": 0, | ||
"label": "Vehicle No", | ||
"label": "Transporter Doc No", | ||
"length": 0, | ||
"no_copy": 0, | ||
"oldfieldname": "lr_no", | ||
|
@@ -2701,7 +2853,7 @@ | |
"in_global_search": 0, | ||
"in_list_view": 0, | ||
"in_standard_filter": 0, | ||
"label": "Vehicle Dispatch Date", | ||
"label": "Transporter Date", | ||
"length": 0, | ||
"no_copy": 0, | ||
"oldfieldname": "lr_date", | ||
|
@@ -3157,36 +3309,36 @@ | |
}, | ||
{ | ||
"allow_bulk_edit": 0, | ||
"allow_on_submit": 1, | ||
"bold": 0, | ||
"collapsible": 0, | ||
"columns": 0, | ||
"fieldname": "group_same_items", | ||
"fieldtype": "Check", | ||
"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": "Group same items", | ||
"length": 0, | ||
"no_copy": 0, | ||
"permlevel": 0, | ||
"precision": "", | ||
"print_hide": 1, | ||
"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, | ||
"allow_on_submit": 1, | ||
"bold": 0, | ||
"collapsible": 0, | ||
"columns": 0, | ||
"fieldname": "group_same_items", | ||
"fieldtype": "Check", | ||
"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": "Group same items", | ||
"length": 0, | ||
"no_copy": 0, | ||
"permlevel": 0, | ||
"precision": "", | ||
"print_hide": 1, | ||
"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, | ||
"unique": 0 | ||
}, | ||
}, | ||
{ | ||
"allow_bulk_edit": 0, | ||
"allow_bulk_edit": 0, | ||
"allow_on_submit": 0, | ||
"bold": 0, | ||
"collapsible": 1, | ||
|
@@ -3731,8 +3883,8 @@ | |
"istable": 0, | ||
"max_attachments": 0, | ||
"menu_index": 0, | ||
"modified": "2018-07-06 03:03:35.035396", | ||
"modified_by": "Administrator", | ||
"modified": "2018-07-13 19:56:52.867966", | ||
"modified_by": "info@finbyz.com", | ||
"module": "Stock", | ||
"name": "Delivery Note", | ||
"owner": "Administrator", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// Copyright (c) 2016, FinByz Tech Pvt. Ltd. and contributors | ||
// For license information, please see license.txt | ||
/* eslint-disable */ | ||
|
||
frappe.query_reports["Eway Bill"] = { | ||
"filters": [ | ||
{ | ||
'fieldname': 'id', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's call it |
||
'label': __("ID"), | ||
'fieldtype': 'Link', | ||
'options': 'Delivery Note' | ||
}, | ||
{ | ||
'fieldname': 'posting_date', | ||
'label': __("Date"), | ||
'fieldtype': 'DateRange', | ||
'default': [frappe.datetime.nowdate(), frappe.datetime.nowdate()] | ||
}, | ||
{ | ||
'fieldname': 'customer', | ||
'label': __("Customer"), | ||
'fieldtype': 'Link', | ||
'options': 'Customer' | ||
}, | ||
{ | ||
"fieldname":"company", | ||
"label": __("Company"), | ||
"fieldtype": "Link", | ||
"options": "Company", | ||
"default": frappe.defaults.get_user_default("Company") | ||
}, | ||
] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"add_total_row": 0, | ||
"apply_user_permissions": 1, | ||
"creation": "2018-07-13 19:59:18.922829", | ||
"disabled": 0, | ||
"docstatus": 0, | ||
"doctype": "Report", | ||
"idx": 0, | ||
"is_standard": "Yes", | ||
"modified": "2018-07-13 19:59:18.922829", | ||
"modified_by": "Administrator", | ||
"module": "Stock", | ||
"name": "Eway Bill", | ||
"owner": "Administrator", | ||
"ref_doctype": "Delivery Note", | ||
"report_name": "Eway Bill", | ||
"report_type": "Script Report", | ||
"roles": [ | ||
{ | ||
"role": "Stock User" | ||
}, | ||
{ | ||
"role": "Stock Manager" | ||
}, | ||
{ | ||
"role": "Sales User" | ||
}, | ||
{ | ||
"role": "Accounts User" | ||
} | ||
] | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets rename the field to
transporter
, we don't useid
anywhere.