1
0

Proper nested records uniqueness validation

Test pass: test_create_duplicate_for_persisted_target_should_fail
This commit is contained in:
cryptogopher
2021-04-19 00:38:28 +02:00
parent dad116c573
commit 0b9401b089
10 changed files with 168 additions and 22 deletions

View File

@@ -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'