Further changes in manufacturing, added unit_cost in issues and requirements
[fa-stable.git] / manufacturing / manage / bom_edit.php
index 5d60f317848aac4fca39d6dca0ebc376a33e20ec..35230ddb5ab0a70ccb489d1e7be0adbb0d1ee8a2 100644 (file)
@@ -143,7 +143,10 @@ start_row();
 stock_manufactured_items_list_cells(_("Select a manufacturable item:"), 'stock_id', null, false, true);
 end_row();
 if (list_updated('stock_id'))
+{
+       $selected_id = -1;
        $Ajax->activate('_page_body');
+}
 end_table();
 br();
 
@@ -192,7 +195,7 @@ start_form();
                echo "</td>";
                end_row();
        }
-       hidden('stock_id', $selected_parent);
+//     hidden('stock_id', $selected_parent);
 
        locations_list_row(_("Location to Draw From:"), 'loc_code', null);
        workcenter_list_row(_("Work Centre Added:"), 'workcentre_added', null);