Skip to content

Commit

Permalink
Merge pull request #668 from partkeepr/PartKeepr-660
Browse files Browse the repository at this point in the history
Set the stockLevel property to 0 for each duplicated item, fixes #660
  • Loading branch information
Timo A. Hummel committed May 15, 2016
2 parents e782f17 + d30b998 commit 4c1760d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,7 @@ Ext.define('PartKeepr.PartEditor', {
newItem.set(data);
newItem.setAssociationData(this.record.getAssociationData());
newItem.stockLevels().removeAll();
newItem.set("stockLevel", 0);
this.editItem(newItem);

} else {
Expand Down

0 comments on commit 4c1760d

Please # to comment.