Fix: Because of changes in bill loading, there were errors in

reprint/split and other functions where inventories from
     old vouchers was added to new voucher.
This commit is contained in:
tanshu
2016-04-13 15:08:20 +05:30
parent 19353005a5
commit 7050ff5bd3
2 changed files with 5 additions and 1 deletions

View File

@ -95,6 +95,8 @@ namespace Tanshu.Accounts.Repository
NHibernateUtil.Initialize(item.Product.ProductGroup);
foreach (var inmod in item.InventoryModifier)
NHibernateUtil.Initialize(inmod.Modifier);
NHibernateUtil.Initialize(item.Vat);
NHibernateUtil.Initialize(item.ServiceTax);
}
}
foreach (var item in voucher.Settlements)