[FIX] ir_sequence: temporary fix: no (code,company) unique constraint.

bzr revid: vmt@openerp.com-20110930152345-cwmbotwvxaafb32f
This commit is contained in:
Vo Minh Thu 2011-09-30 17:23:45 +02:00
parent 106e8d48da
commit 83fdc271e6
1 changed files with 1 additions and 0 deletions

View File

@ -79,6 +79,7 @@ class ir_sequence(openerp.osv.osv.osv):
}
def init(self, cr):
return # Don't do the following index yet.
# CONSTRAINT/UNIQUE INDEX on (code, company_id)
# /!\ The unique constraint 'unique_name_company_id' is not sufficient, because SQL92
# only support field names in constraint definitions, and we need a function here: