mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-23 00:06:16 +00:00
Global batch code (#12912)
* Add top-level batch code when receiving items * Add API test * Bump API version
This commit is contained in:
1 parent
63f81714fb
commit
c4c493d3fd
6 files changed
+91
-9
No files matched your search
@@ -589,7 +589,7 @@ test('Purchase Orders - Receive Items', async ({ browser }) => {
|
||||
await page.getByLabel('action-button-add-note').click();
|
||||
|
||||
await page
|
||||
.getByLabel('text-field-batch_code', { exact: true })
|
||||
.getByLabel('text-field-line_batch_code', { exact: true })
|
||||
.fill('my-batch-code');
|
||||
await page.getByLabel('text-field-packaging', { exact: true }).fill('bucket');
|
||||
await page
|
||||
@@ -653,7 +653,7 @@ test('Purchase Orders - Custom Location', async ({ browser }) => {
|
||||
|
||||
await page.getByLabel('action-button-assign-batch-').click();
|
||||
await page
|
||||
.getByLabel('text-field-batch_code', { exact: true })
|
||||
.getByLabel('text-field-line_batch_code', { exact: true })
|
||||
.fill('po-custom-location-test');
|
||||
|
||||
// Short timeout to allow for debouncing
|
||||
|
||||
Reference in new issue
Block a user