[FIX] base_contact: Increment the last value of the sequence for the locationwq
bzr revid: stw@openerp.com-20111214135300-kepiuavmave9dmgp
This commit is contained in:
parent
df9bb00eaa
commit
b12c719ed8
|
@ -112,7 +112,7 @@ class res_partner_location(osv.osv):
|
|||
last_sequence = cr.fetchone()[0]
|
||||
|
||||
cr.execute("INSERT INTO res_partner_location SELECT * FROM res_partner_address")
|
||||
cr.execute("ALTER SEQUENCE " + self._sequence + " RESTART WITH " + str(last_sequence))
|
||||
cr.execute("ALTER SEQUENCE " + self._sequence + " RESTART WITH " + str(last_sequence + 10))
|
||||
|
||||
|
||||
res_partner_location()
|
||||
|
|
Loading…
Reference in New Issue