mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 13:49:13 +00:00
@@ -44,9 +44,9 @@ var set_operation_no = function(doc) {
|
||||
var op = op_table[i].operation_no;
|
||||
if (op && !inList(operations, op)) operations.push(op);
|
||||
}
|
||||
|
||||
cur_frm.fields_dict["bom_materials"].grid.get_field("operation_no")
|
||||
.df.options = operations.join("\n");
|
||||
|
||||
wn.meta.get_docfield("BOM Item", "operation_no",
|
||||
cur_frm.docname).options = operations.join("\n");
|
||||
|
||||
$.each(getchildren("BOM Item", doc.name, "bom_materials"), function(i, v) {
|
||||
if(!inList(operations, cstr(v.operation_no))) v.operation_no = null;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{
|
||||
"creation": "2013-01-22 15:11:38",
|
||||
"docstatus": 0,
|
||||
"modified": "2013-01-29 17:32:53",
|
||||
"modified": "2013-06-27 11:08:28",
|
||||
"modified_by": "Administrator",
|
||||
"owner": "Administrator"
|
||||
},
|
||||
@@ -112,6 +112,7 @@
|
||||
"options": "Specify the operations, operating cost and give a unique Operation no to your operations."
|
||||
},
|
||||
{
|
||||
"depends_on": "with_operations",
|
||||
"doctype": "DocField",
|
||||
"fieldname": "bom_operations",
|
||||
"fieldtype": "Table",
|
||||
|
||||
Reference in New Issue
Block a user