[FIX]Delete name_company_uniq constraint in bank statement
authordle@openerp.com <>
Fri, 30 Nov 2012 19:29:38 +0000 (20:29 +0100)
committerdle@openerp.com <>
Fri, 30 Nov 2012 19:29:38 +0000 (20:29 +0100)
bzr revid: dle@openerp.com-20121130192938-qj9wu6iztkg7helz

addons/l10n_be_coda/l10n_be_coda.py

index f9dfa3a..f24536a 100644 (file)
@@ -347,9 +347,9 @@ class account_bank_statement(osv.osv):
     _columns = {
         'coda_statement_id': fields.many2one('coda.bank.statement', 'Associated CODA Bank Statement'),
     }
-    _sql_constraints = [
-        ('name_company_uniq', 'unique (name,company_id)', 'The name of the Bank Statement must be unique per company !')
-    ]
+    # _sql_constraints = [
+    #     ('name_company_uniq', 'unique (name,company_id)', 'The name of the Bank Statement must be unique per company !')
+    # ]
     
     def unlink(self, cr, uid, ids, context=None):
         if context is None: