[FIX] ir_sequence: temporary fix: no (code,company) unique constraint.
bzr revid: vmt@openerp.com-20110930152345-cwmbotwvxaafb32f
This commit is contained in:
parent
106e8d48da
commit
83fdc271e6
|
@ -79,6 +79,7 @@ class ir_sequence(openerp.osv.osv.osv):
|
||||||
}
|
}
|
||||||
|
|
||||||
def init(self, cr):
|
def init(self, cr):
|
||||||
|
return # Don't do the following index yet.
|
||||||
# CONSTRAINT/UNIQUE INDEX on (code, company_id)
|
# CONSTRAINT/UNIQUE INDEX on (code, company_id)
|
||||||
# /!\ The unique constraint 'unique_name_company_id' is not sufficient, because SQL92
|
# /!\ 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:
|
# only support field names in constraint definitions, and we need a function here:
|
||||||
|
|
Loading…
Reference in New Issue