Default view of BOM is Listview
This commit is contained in:
parent
47605cae16
commit
e5716e3b1e
@ -38,7 +38,7 @@ get_help_messages = "erpnext.utilities.activation.get_help_messages"
|
|||||||
on_session_creation = "erpnext.shopping_cart.utils.set_cart_count"
|
on_session_creation = "erpnext.shopping_cart.utils.set_cart_count"
|
||||||
on_logout = "erpnext.shopping_cart.utils.clear_cart_count"
|
on_logout = "erpnext.shopping_cart.utils.clear_cart_count"
|
||||||
|
|
||||||
treeviews = ['Account', 'Cost Center', 'Warehouse', 'Item Group', 'Customer Group', 'Sales Person', 'Territory', "BOM"]
|
treeviews = ['Account', 'Cost Center', 'Warehouse', 'Item Group', 'Customer Group', 'Sales Person', 'Territory']
|
||||||
|
|
||||||
# website
|
# website
|
||||||
update_website_context = "erpnext.shopping_cart.utils.update_website_context"
|
update_website_context = "erpnext.shopping_cart.utils.update_website_context"
|
||||||
|
@ -78,7 +78,8 @@ def add_print_formats():
|
|||||||
|
|
||||||
def make_custom_fields():
|
def make_custom_fields():
|
||||||
hsn_sac_field = dict(fieldname='gst_hsn_code', label='HSN/SAC',
|
hsn_sac_field = dict(fieldname='gst_hsn_code', label='HSN/SAC',
|
||||||
fieldtype='Data', options='item_code.gst_hsn_code', insert_after='description', print_hide=1)
|
fieldtype='Data', options='item_code.gst_hsn_code', insert_after='description',
|
||||||
|
allow_on_submit=1, print_hide=1)
|
||||||
invoice_gst_fields = [
|
invoice_gst_fields = [
|
||||||
dict(fieldname='gst_section', label='GST Details', fieldtype='Section Break',
|
dict(fieldname='gst_section', label='GST Details', fieldtype='Section Break',
|
||||||
insert_after='select_print_heading', print_hide=1, collapsible=1),
|
insert_after='select_print_heading', print_hide=1, collapsible=1),
|
||||||
|
Loading…
Reference in New Issue
Block a user