diff --git a/erpnext/manufacturing/doctype/bom/bom.js b/erpnext/manufacturing/doctype/bom/bom.js index 5c099c43e35..ce9ac0e35de 100644 --- a/erpnext/manufacturing/doctype/bom/bom.js +++ b/erpnext/manufacturing/doctype/bom/bom.js @@ -31,7 +31,7 @@ cur_frm.cscript.with_operations = function(doc) { } erpnext.bom.set_operation = function(doc) { - var op_table = doc.bom_operations || []; + var op_table = doc["bom_operations"] || []; var operations = []; for (var i=0, j=op_table.length; i -
{%= __("Operation") %}
-
{%= __("Workstation") %}
-
{%= __("Completed Qty") %}
- -{% } else { %} -
-
- {%= doc.operation %} - - {%= doc.status %} - - {% include "templates/form_grid/includes/visible_cols.html" %} -
- {%= doc.get_formatted("opn_description") %} -
-
- - -
- {%= doc.get_formatted("workstation") %} -
- - -
- {%= doc.get_formatted("qty_completed") %} -
-
-{% } %}