Browse Source

[FIX] remove sql constraint for company_id

pull/397/head
Yves Goldberg 6 years ago
committed by Iryna Vyshnevska
parent
commit
ee5811e143
  1. 2
      agreement/models/agreement.py

2
agreement/models/agreement.py

@ -30,6 +30,6 @@ class Agreement(models.Model):
_sql_constraints = [(
'code_partner_company_unique',
'unique(code, partner_id, company_id)',
'unique(code, partner_id)',
'This agreement code already exists for this partner!'
)]
Loading…
Cancel
Save