diff --git a/Changelog b/Changelog index 8f0a6f707d..3c17a11635 100644 --- a/Changelog +++ b/Changelog @@ -10,6 +10,8 @@ Changelog for 1.5.8 * Fix 'On Hand' goods search filter not being applied (Erik H, #2845) * Clean up issues found by Debian's 'lintian' (Erik H, Robert C) * Fix layout regression of 1.5 in single payment screen (Erik H, #1917) +* Fix 'Update' on Assembly page resetting BOM count to 1 (Erik H, 2835) +* Fix 'Update' on Assembly page requiring all BOM lines filled (Erik H, 2835) Erik H is Erik Huelsmann Robert C is Robert James Clay diff --git a/bin/ic.pl b/bin/ic.pl index 83e864f485..212e5b960c 100644 --- a/bin/ic.pl +++ b/bin/ic.pl @@ -1332,7 +1332,7 @@ sub assembly_row { $column_data{qty} = qq||; $column_data{partnumber} = -qq||; +qq||; $column_data{description} = qq|
$form->{"description_$i"}
|; $column_data{partsgroup} = @@ -1469,9 +1469,6 @@ sub update { if ($rows) { $form->{"adj_$i"} = 1; - - $form->{"qty_$i"} = 1; - $form->{"adj_$i"} = 1; for (qw(partnumber description unit)) { $form->{item_list}[$i]{$_} = $form->quote( $form->{item_list}[$i]{$_} );