mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 05:05:42 +00:00 
			
		
		
		
	PartParameter updates (#10023)
* Add mixin for storing user who last updated an instance * Add mixin to "PartParameter" model * Fix typo * Fix strings * Refactor mixin class * Update part parameter table: - Add "user" filter - Add "updated_by" column - Add "update" column - Add "note" column * Fix for updating date * Add user information when saving parameter * small refactors * Bump API version * Add unit test for "updated" and "updated_by" fields * Check for 'note' field * Update docs image
This commit is contained in:
		| @@ -419,6 +419,8 @@ test('Parts - Parameters', async ({ browser }) => { | ||||
|   await page.getByLabel('choice-field-data').click(); | ||||
|   await page.getByRole('option', { name: 'Green' }).click(); | ||||
|  | ||||
|   await page.getByLabel('text-field-note').fill('A custom note field'); | ||||
|  | ||||
|   // Select the "polarized" parameter template (should create a "checkbox" field) | ||||
|   await page.getByLabel('related-field-template').fill('Polarized'); | ||||
|   await page.getByText('Is this part polarized?').click(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user