mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +00:00 
			
		
		
		
	[PUI] Fix stock actions (#8569)
* Fix useAssignStockItems - Only allow "salable" parts * Assign item to customer * Adjust playwright tests
This commit is contained in:
		| @@ -189,7 +189,7 @@ test('Stock - Stock Actions', async ({ page }) => { | ||||
|   await page.getByRole('button', { name: 'Cancel' }).click(); | ||||
|  | ||||
|   // Find an item which has been sent to a customer | ||||
|   await page.goto(`${baseUrl}/stock/item/1012/details`); | ||||
|   await page.goto(`${baseUrl}/stock/item/1014/details`); | ||||
|   await page.getByText('Batch Code: 2022-11-12').waitFor(); | ||||
|   await page.getByText('Unavailable').waitFor(); | ||||
|   await page.getByLabel('action-menu-stock-operations').click(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user