[fix] [minor] bom operations fix

This commit is contained in:
Akhilesh Darjee 2013-12-04 11:54:13 +05:30
parent c94891cc8e
commit 245200f129
3 changed files with 3 additions and 4 deletions

View File

@ -25,7 +25,7 @@ cur_frm.cscript.update_cost = function() {
cur_frm.cscript.with_operations = function(doc) {
cur_frm.fields_dict["bom_materials"].grid.set_column_disp("operation_no", doc.with_operations);
cur_frm.fields_dict["bom_materials"].grid.toggle_reqd("operation_no", doc.with_operations)
cur_frm.fields_dict["bom_materials"].grid.toggle_reqd("operation_no", doc.with_operations);
}
cur_frm.cscript.operation_no = function(doc, cdt, cdn) {

View File

@ -2,7 +2,7 @@
{
"creation": "2013-01-22 15:11:38",
"docstatus": 0,
"modified": "2013-11-02 14:23:28",
"modified": "2013-12-04 11:51:36",
"modified_by": "Administrator",
"owner": "Administrator"
},
@ -129,7 +129,6 @@
"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",

View File

@ -2,7 +2,7 @@
{
"creation": "2013-02-22 01:27:49",
"docstatus": 0,
"modified": "2013-07-22 15:28:28",
"modified": "2013-12-04 11:18:59",
"modified_by": "Administrator",
"owner": "Administrator"
},