mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
Update agreement.py
This commit is contained in:
@@ -29,7 +29,7 @@ class Agreement(models.Model):
|
||||
return res
|
||||
|
||||
_sql_constraints = [(
|
||||
'code_partner_company_unique',
|
||||
'code_partner_unique',
|
||||
'unique(code, partner_id)',
|
||||
'This agreement code already exists for this partner!'
|
||||
)]
|
||||
|
||||
Reference in New Issue
Block a user