mirror of
https://github.com/inventree/InvenTree.git
synced 2026-05-17 23:08:28 +00:00
Support physical units for BOM lines (#11631)
* Add new "raw_amount" field to BomItem model * Batch process data migration * Update migration * Calculate 'quantity' from 'raw_amount' field * Improve decimal formatting in migration * Allow raw_amount in serializer * Adjust frontend form * API validation and unit tests * Additional playwright tests * Update API version and CHANGELOG * Updated docs * Fix docstring * Better handling of empty values * Tweak unit tests * Tweak unit test * Fix unit test * Adjust form field text * Adjust migration file * Tweak playwright tests * Fix unit test * Adjust serializers / import-export / playwright * Fix migration * Fix validation * Loosen comparison --------- Co-authored-by: Matthias Mair <code@mjmair.com>
This commit is contained in:
@@ -401,7 +401,7 @@ test('Settings - Admin - Parameter', async ({ browser }) => {
|
||||
await loadTab(page, 'Parameters', true);
|
||||
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForTimeout(1000);
|
||||
await page.waitForTimeout(500);
|
||||
|
||||
// Clean old template data if exists
|
||||
await page
|
||||
|
||||
Reference in New Issue
Block a user