Skip to content
Snippets Groups Projects
Commit 83fdc271 authored by Vo Minh Thu's avatar Vo Minh Thu
Browse files

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

bzr revid: vmt@openerp.com-20110930152345-cwmbotwvxaafb32f
parent 106e8d48
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment