From f8863a95e9b9d30015d906f5018dd312f19a9f3d Mon Sep 17 00:00:00 2001 From: root Date: Fri, 21 Oct 2022 11:50:14 +0530 Subject: [PATCH] Revert unique constraints --- cor_custom/models/project.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cor_custom/models/project.py b/cor_custom/models/project.py index ae8c890..f08f0a0 100755 --- a/cor_custom/models/project.py +++ b/cor_custom/models/project.py @@ -77,10 +77,6 @@ class Project(models.Model): tag_ids = fields.Many2many('custom.project.tags', string='Tags') is_check = fields.Boolean() - _sql_constraints = [ - ('name_uniq', 'unique(name)', "Project name already exists !"), - ] - @api.onchange('allowed_internal_user_ids') def onchange_add_allowed_internal_users(self): user_list = []