Affects Version/s: Trunk
Fix Version/s: None
When making a physical inventory and on the same page changing multiple stock values, we are creating multiple PhysicalInventory lines. With this patch, changing multiple stock lines will create only one PhysicalInventory, which is much easier to handle after.
Test process :
Before the patch
go to https://localhost:8443/facility/control/FindFacilityPhysicalInventory?facilityId=WebStoreWarehouse, then search for GZ% in the productId field, then change the values for more than one product. Then validate. When looking at the PhysicalInventory entity, you've got as many lines as you've changed values.
you've got only one line in PhysicalInventory for the changes you've made.