Proper nested records uniqueness validation
Test pass: test_create_duplicate_for_persisted_target_should_fail
This commit is contained in:
@@ -33,6 +33,8 @@ en:
|
||||
models:
|
||||
target:
|
||||
attributes:
|
||||
base:
|
||||
duplicated_record: 'target for this quantity, item and scope already exists'
|
||||
thresholds:
|
||||
count_mismatch: 'count invalid for given condition'
|
||||
quantity_mismatch: 'should refer to the same quantity'
|
||||
|
||||
Reference in New Issue
Block a user