Packing list visibility issue

This commit is contained in:
Nabin Hait 2014-08-21 16:24:49 +05:30
parent bb3f192b07
commit 4417529952
2 changed files with 171 additions and 179 deletions

View File

@ -26,10 +26,6 @@ pscript.feature_dict = {
'Stock Entry': {'fields':['project_name']}, 'Stock Entry': {'fields':['project_name']},
'Timesheet': {'timesheet_details':['project_name']} 'Timesheet': {'timesheet_details':['project_name']}
}, },
'fs_packing_details': {
//'Delivery Note': {'fields':['packing_details','print_packing_slip','packing_checked_by','packed_by','pack_size','shipping_mark'],'delivery_note_details':['no_of_packs','pack_gross_wt','pack_nett_wt','pack_no','pack_unit']},
//'Sales Order': {'fields':['packing_details']}
},
'fs_discounts': { 'fs_discounts': {
'Delivery Note': {'delivery_note_details':['discount_percentage']}, 'Delivery Note': {'delivery_note_details':['discount_percentage']},
'Quotation': {'quotation_details':['discount_percentage']}, 'Quotation': {'quotation_details':['discount_percentage']},
@ -152,10 +148,10 @@ pscript.feature_dict = {
'Address': {'fields':['sales_partner']}, 'Address': {'fields':['sales_partner']},
'Contact': {'fields':['sales_partner']}, 'Contact': {'fields':['sales_partner']},
'Customer': {'fields':['sales_team']}, 'Customer': {'fields':['sales_team']},
'Delivery Note': {'fields':['sales_team','packing_list']}, 'Delivery Note': {'fields':['sales_team']},
'Item': {'fields':['item_customer_details']}, 'Item': {'fields':['item_customer_details']},
'Sales Invoice': {'fields':['sales_team', 'packing_list']}, 'Sales Invoice': {'fields':['sales_team']},
'Sales Order': {'fields':['sales_team','packing_list']} 'Sales Order': {'fields':['sales_team']}
}, },
'fs_more_info': { 'fs_more_info': {
"Customer Issue": {"fields": ["more_info"]}, "Customer Issue": {"fields": ["more_info"]},
@ -190,7 +186,6 @@ $(document).bind('form_refresh', function() {
for(var sys_feat in sys_defaults) { for(var sys_feat in sys_defaults) {
if(sys_defaults[sys_feat]=='0' if(sys_defaults[sys_feat]=='0'
&& (sys_feat in pscript.feature_dict)) { //"Features to hide" exists && (sys_feat in pscript.feature_dict)) { //"Features to hide" exists
if(cur_frm.doc.doctype in pscript.feature_dict[sys_feat]) { if(cur_frm.doc.doctype in pscript.feature_dict[sys_feat]) {
for(var fort in pscript.feature_dict[sys_feat][cur_frm.doc.doctype]) { for(var fort in pscript.feature_dict[sys_feat][cur_frm.doc.doctype]) {
if(fort=='fields') { if(fort=='fields') {

View File

@ -1,241 +1,238 @@
{ {
"creation": "2012-12-20 12:50:49.000000", "creation": "2012-12-20 12:50:49",
"docstatus": 0, "docstatus": 0,
"doctype": "DocType", "doctype": "DocType",
"fields": [ "fields": [
{ {
"fieldname": "materials", "fieldname": "materials",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Materials", "label": "Materials",
"permlevel": 0 "permlevel": 0
}, },
{ {
"description": "To track item in sales and purchase documents based on their serial nos. This is can also used to track warranty details of the product.", "description": "To track item in sales and purchase documents based on their serial nos. This is can also used to track warranty details of the product.",
"fieldname": "fs_item_serial_nos", "fieldname": "fs_item_serial_nos",
"fieldtype": "Check", "fieldtype": "Check",
"label": "Item Serial Nos", "in_list_view": 1,
"label": "Item Serial Nos",
"permlevel": 0 "permlevel": 0
}, },
{ {
"description": "To track items in sales and purchase documents with batch nos<br><b>Preferred Industry: Chemicals etc</b>", "description": "To track items in sales and purchase documents with batch nos<br><b>Preferred Industry: Chemicals etc</b>",
"fieldname": "fs_item_batch_nos", "fieldname": "fs_item_batch_nos",
"fieldtype": "Check", "fieldtype": "Check",
"label": "Item Batch Nos", "in_list_view": 1,
"label": "Item Batch Nos",
"permlevel": 0 "permlevel": 0
}, },
{ {
"description": "To track brand name in the following documents Delivery Note, Opportunity, Material Request, Item, Purchase Order, Purchase Voucher, Purchaser Receipt, Quotation, Sales Invoice, Sales BOM, Sales Order, Serial No", "description": "To track brand name in the following documents Delivery Note, Opportunity, Material Request, Item, Purchase Order, Purchase Voucher, Purchaser Receipt, Quotation, Sales Invoice, Sales BOM, Sales Order, Serial No",
"fieldname": "fs_brands", "fieldname": "fs_brands",
"fieldtype": "Check", "fieldtype": "Check",
"label": "Brands", "in_list_view": 1,
"label": "Brands",
"permlevel": 0 "permlevel": 0
}, },
{ {
"description": "To track items using barcode. You will be able to enter items in Delivery Note and Sales Invoice by scanning barcode of item.", "description": "To track items using barcode. You will be able to enter items in Delivery Note and Sales Invoice by scanning barcode of item.",
"fieldname": "fs_item_barcode", "fieldname": "fs_item_barcode",
"fieldtype": "Check", "fieldtype": "Check",
"label": "Item Barcode", "in_list_view": 1,
"label": "Item Barcode",
"permlevel": 0 "permlevel": 0
}, },
{ {
"fieldname": "column_break0", "fieldname": "column_break0",
"fieldtype": "Column Break", "fieldtype": "Column Break",
"permlevel": 0 "permlevel": 0
}, },
{ {
"description": "1. To maintain the customer wise item code and to make them searchable based on their code use this option", "description": "1. To maintain the customer wise item code and to make them searchable based on their code use this option",
"fieldname": "fs_item_advanced", "fieldname": "fs_item_advanced",
"fieldtype": "Check", "fieldtype": "Check",
"label": "Item Advanced", "label": "Item Advanced",
"permlevel": 0 "permlevel": 0
}, },
{ {
"description": "If Sale BOM is defined, the actual BOM of the Pack is displayed as table. Available in Delivery Note and Sales Order", "description": "To get Item Group in details table",
"fieldname": "fs_packing_details", "fieldname": "fs_item_group_in_details",
"fieldtype": "Check", "fieldtype": "Check",
"label": "Packing Details", "label": "Item Groups in Details",
"permlevel": 0 "permlevel": 0
}, },
{ {
"description": "To get Item Group in details table", "fieldname": "sales_and_purchase",
"fieldname": "fs_item_group_in_details", "fieldtype": "Section Break",
"fieldtype": "Check", "label": "Sales and Purchase",
"label": "Item Groups in Details",
"permlevel": 0 "permlevel": 0
}, },
{ {
"fieldname": "sales_and_purchase", "description": "All export related fields like currency, conversion rate, export total, export grand total etc are available in Delivery Note, POS, Quotation, Sales Invoice, Sales Order etc.",
"fieldtype": "Section Break", "fieldname": "fs_exports",
"label": "Sales and Purchase", "fieldtype": "Check",
"label": "Exports",
"permlevel": 0 "permlevel": 0
}, },
{ {
"description": "All export related fields like currency, conversion rate, export total, export grand total etc are available in Delivery Note, POS, Quotation, Sales Invoice, Sales Order etc.", "description": "All import related fields like currency, conversion rate, import total, import grand total etc are available in Purchase Receipt, Supplier Quotation, Purchase Invoice, Purchase Order etc.",
"fieldname": "fs_exports", "fieldname": "fs_imports",
"fieldtype": "Check", "fieldtype": "Check",
"label": "Exports", "label": "Imports",
"permlevel": 0 "permlevel": 0
}, },
{ {
"description": "All import related fields like currency, conversion rate, import total, import grand total etc are available in Purchase Receipt, Supplier Quotation, Purchase Invoice, Purchase Order etc.", "fieldname": "column_break1",
"fieldname": "fs_imports", "fieldtype": "Column Break",
"fieldtype": "Check",
"label": "Imports",
"permlevel": 0 "permlevel": 0
}, },
{ {
"fieldname": "column_break1", "description": "Field available in Delivery Note, Quotation, Sales Invoice, Sales Order",
"fieldtype": "Column Break", "fieldname": "fs_discounts",
"fieldtype": "Check",
"label": "Sales Discounts",
"permlevel": 0 "permlevel": 0
}, },
{ {
"description": "Field available in Delivery Note, Quotation, Sales Invoice, Sales Order", "description": "Discount Fields will be available in Purchase Order, Purchase Receipt, Purchase Invoice",
"fieldname": "fs_discounts", "fieldname": "fs_purchase_discounts",
"fieldtype": "Check", "fieldtype": "Check",
"label": "Sales Discounts", "label": "Purchase Discounts",
"permlevel": 0 "permlevel": 0
}, },
{ {
"description": "Discount Fields will be available in Purchase Order, Purchase Receipt, Purchase Invoice", "description": "To track any installation or commissioning related work after sales",
"fieldname": "fs_purchase_discounts", "fieldname": "fs_after_sales_installations",
"fieldtype": "Check", "fieldtype": "Check",
"label": "Purchase Discounts", "label": "After Sale Installations",
"permlevel": 0 "permlevel": 0
}, },
{ {
"description": "To track any installation or commissioning related work after sales", "description": "Available in BOM, Delivery Note, Purchase Invoice, Production Order, Purchase Order, Purchase Receipt, Sales Invoice, Sales Order, Stock Entry, Timesheet",
"fieldname": "fs_after_sales_installations", "fieldname": "fs_projects",
"fieldtype": "Check", "fieldtype": "Check",
"label": "After Sale Installations", "label": "Projects",
"permlevel": 0 "permlevel": 0
}, },
{ {
"description": "Available in BOM, Delivery Note, Purchase Invoice, Production Order, Purchase Order, Purchase Receipt, Sales Invoice, Sales Order, Stock Entry, Timesheet", "description": "If you have Sales Team and Sale Partners (Channel Partners) they can be tagged and maintain their contribution in the sales activity",
"fieldname": "fs_projects", "fieldname": "fs_sales_extras",
"fieldtype": "Check", "fieldtype": "Check",
"label": "Projects", "label": "Sales Extras",
"permlevel": 0 "permlevel": 0
}, },
{ {
"description": "If you have Sales Team and Sale Partners (Channel Partners) they can be tagged and maintain their contribution in the sales activity", "fieldname": "accounts",
"fieldname": "fs_sales_extras", "fieldtype": "Section Break",
"fieldtype": "Check", "label": "Accounts",
"label": "Sales Extras",
"permlevel": 0 "permlevel": 0
}, },
{ {
"fieldname": "accounts", "description": "Check if you need automatic recurring invoices. After submitting any sales invoice, Recurring section will be visible.",
"fieldtype": "Section Break", "fieldname": "fs_recurring_invoice",
"label": "Accounts", "fieldtype": "Check",
"label": "Recurring Invoice",
"permlevel": 0 "permlevel": 0
}, },
{ {
"description": "Check if you need automatic recurring invoices. After submitting any sales invoice, Recurring section will be visible.", "fieldname": "column_break2",
"fieldname": "fs_recurring_invoice", "fieldtype": "Column Break",
"fieldtype": "Check",
"label": "Recurring Invoice",
"permlevel": 0 "permlevel": 0
}, },
{ {
"fieldname": "column_break2", "description": "To enable <b>Point of Sale</b> features",
"fieldtype": "Column Break", "fieldname": "fs_pos",
"fieldtype": "Check",
"label": "Point of Sale",
"permlevel": 0 "permlevel": 0
}, },
{ {
"description": "To enable <b>Point of Sale</b> features", "description": "To enable <b>Point of Sale</b> view",
"fieldname": "fs_pos", "fieldname": "fs_pos_view",
"fieldtype": "Check", "fieldtype": "Check",
"label": "Point of Sale", "label": "POS View",
"permlevel": 0 "permlevel": 0
}, },
{ {
"description": "To enable <b>Point of Sale</b> view", "fieldname": "production",
"fieldname": "fs_pos_view", "fieldtype": "Section Break",
"fieldtype": "Check", "label": "Manufacturing",
"label": "POS View",
"permlevel": 0 "permlevel": 0
}, },
{ {
"fieldname": "production", "description": "If you involve in manufacturing activity. Enables Item 'Is Manufactured'",
"fieldtype": "Section Break", "fieldname": "fs_manufacturing",
"label": "Manufacturing", "fieldtype": "Check",
"label": "Manufacturing",
"permlevel": 0 "permlevel": 0
}, },
{ {
"description": "If you involve in manufacturing activity. Enables Item 'Is Manufactured'", "fieldname": "column_break3",
"fieldname": "fs_manufacturing", "fieldtype": "Column Break",
"fieldtype": "Check",
"label": "Manufacturing",
"permlevel": 0 "permlevel": 0
}, },
{ {
"fieldname": "column_break3", "description": "If you follow Quality Inspection. Enables Item QA Required and QA No in Purchase Receipt",
"fieldtype": "Column Break", "fieldname": "fs_quality",
"fieldtype": "Check",
"label": "Quality",
"permlevel": 0 "permlevel": 0
}, },
{ {
"description": "If you follow Quality Inspection. Enables Item QA Required and QA No in Purchase Receipt", "fieldname": "miscelleneous",
"fieldname": "fs_quality", "fieldtype": "Section Break",
"fieldtype": "Check", "label": "Miscelleneous",
"label": "Quality",
"permlevel": 0 "permlevel": 0
}, },
{ {
"fieldname": "miscelleneous", "description": "If you have long print formats, this feature can be used to split the page to be printed on multiple pages with all headers and footers on each page",
"fieldtype": "Section Break", "fieldname": "fs_page_break",
"label": "Miscelleneous", "fieldtype": "Check",
"label": "Page Break",
"permlevel": 0 "permlevel": 0
}, },
{ {
"description": "If you have long print formats, this feature can be used to split the page to be printed on multiple pages with all headers and footers on each page", "fieldname": "column_break4",
"fieldname": "fs_page_break", "fieldtype": "Column Break",
"fieldtype": "Check",
"label": "Page Break",
"permlevel": 0 "permlevel": 0
}, },
{ {
"fieldname": "column_break4", "fieldname": "fs_more_info",
"fieldtype": "Column Break", "fieldtype": "Check",
"permlevel": 0 "label": "More Info",
},
{
"fieldname": "fs_more_info",
"fieldtype": "Check",
"label": "More Info",
"permlevel": 0 "permlevel": 0
} }
], ],
"icon": "icon-glass", "icon": "icon-glass",
"idx": 1, "idx": 1,
"issingle": 1, "issingle": 1,
"modified": "2013-12-24 11:40:19.000000", "modified": "2014-08-21 16:24:18.503070",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Setup", "module": "Setup",
"name": "Features Setup", "name": "Features Setup",
"name_case": "Title Case", "name_case": "Title Case",
"owner": "Administrator", "owner": "Administrator",
"permissions": [ "permissions": [
{ {
"create": 1, "create": 1,
"email": 1, "email": 1,
"permlevel": 0, "permlevel": 0,
"print": 1, "print": 1,
"read": 1, "read": 1,
"report": 0, "report": 0,
"role": "System Manager", "role": "System Manager",
"submit": 0, "submit": 0,
"write": 1 "write": 1
}, },
{ {
"create": 1, "create": 1,
"email": 1, "email": 1,
"permlevel": 0, "permlevel": 0,
"print": 1, "print": 1,
"read": 1, "read": 1,
"report": 0, "report": 0,
"role": "Administrator", "role": "Administrator",
"submit": 0, "submit": 0,
"write": 1 "write": 1
} }
] ]
} }