Warning al actualizar la base de datos.

Bug #922872 reported by Gabriela Quilarque
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bank and Payment Management Latin America
Fix Committed
Low
Luis Escobar V. (Vauxoo)

Bug Description

El siguiente warning se presenta al actalizar la base de datos:

[2012-01-27 17:32:27,387][produccion] ERROR:db.cursor:bad query: ALTER TABLE "check_note" ADD CONSTRAINT "check_note_check_note_number_uniq" unique(accounting_bank_id,number)
Traceback (most recent call last):
  File "/home/operador/produccion/server/bin/sql_db.py", line 131, in execute
    res = self._obj.execute(query, params)
IntegrityError: could not create unique index "check_note_check_note_number_uniq"
DETAIL: Table contains duplicated values.

[2012-01-27 17:32:27,388][produccion] WARNING:orm.schema:Table 'check_note': unable to add 'unique(accounting_bank_id,number)' constraint !
 If you want to have it, you should update the records and execute manually:
ALTER TABLE "check_note" ADD CONSTRAINT "check_note_check_note_number_uniq" unique(accounting_bank_id,number)

Changed in openerp-venezuela-localization:
importance: Undecided → Low
status: New → Confirmed
Changed in openerp-venezuela-localization:
status: Confirmed → Fix Released
affects: openerp-venezuela-localization → bank-management
Changed in bank-management:
status: Fix Released → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.