Yves Goldberg
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
agreement/models/agreement.py
|
@ -29,7 +29,7 @@ class Agreement(models.Model): |
|
|
return res |
|
|
return res |
|
|
|
|
|
|
|
|
_sql_constraints = [( |
|
|
_sql_constraints = [( |
|
|
'code_partner_company_unique', |
|
|
|
|
|
|
|
|
'code_partner_unique', |
|
|
'unique(code, partner_id)', |
|
|
'unique(code, partner_id)', |
|
|
'This agreement code already exists for this partner!' |
|
|
'This agreement code already exists for this partner!' |
|
|
)] |
|
|
)] |