Added upload instructions to file related to bulk edit feature (ERPNext repo issue:#11207) (#4345)

* [fix] #4344

* Update grid.js
This commit is contained in:
Pawan Mehta 2017-10-27 14:55:37 +05:30 committed by Rushabh Mehta
parent 299ab6198a
commit b20be20dce

View file

@ -611,7 +611,7 @@ frappe.ui.form.Grid = Class.extend({
me.frm.clear_table(me.df.fieldname);
$.each(data, function(i, row) {
if(i > 4) {
if(i > 6) {
var blank_row = true;
$.each(row, function(ci, value) {
if(value) {
@ -659,6 +659,8 @@ frappe.ui.form.Grid = Class.extend({
data.push([]);
data.push([]);
data.push([]);
data.push([__("The CSV format is case sensitive")]);
data.push([__("Do not edit headers which are preset in the template")]);
data.push(["------"]);
$.each(frappe.get_meta(me.df.options).fields, function(i, df) {
if(frappe.model.is_value_type(df.fieldtype)) {