Procházet zdrojové kódy

Fixed bug in update script which caused updates to not work.

Kenric Nugteren před 1 rokem
rodič
revize
ed2d816655

+ 2 - 0
prs.shared/Database Update Scripts/Update_7_63.cs

@@ -58,6 +58,8 @@ public class Update_7_63 : DatabaseUpdateScript
                 {
                     movement.Type = StockMovementType.Issue;
                 }
+                // manually setting original value because originally the same.
+                movement.SetOriginalValue(x => x.Type, StockMovementType.Receive);
             }
             DbFactory.Provider.Save(movements);
         }