From f834520db978f983d501c4bafb57df428fbf9bf1 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 4 May 2012 16:31:14 +0530 Subject: [PATCH] Fixed add new product. --- Tanshu.Accounts.PointOfSale/ProductsForm.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tanshu.Accounts.PointOfSale/ProductsForm.cs b/Tanshu.Accounts.PointOfSale/ProductsForm.cs index 7a2521e..22c7ed0 100644 --- a/Tanshu.Accounts.PointOfSale/ProductsForm.cs +++ b/Tanshu.Accounts.PointOfSale/ProductsForm.cs @@ -234,7 +234,7 @@ namespace Tanshu.Accounts.PointOfSale #region Binding Source Events private void bsProducts_AddingNew(object sender, AddingNewEventArgs e) { - e.NewObject = new ProductBO(); + e.NewObject = new ProductDisplayBO(); } private void bsProducts_PositionChanged(object sender, EventArgs e)