warning update orm
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned |
Bug Description
With the last revision os base, the are a problem with the orm, you get this error in update:
[2009-07-03 11:39:56,318] WARNING:orm:[01]: unable to add 'unique(name, module)' constraint on table ir_model_data !
[2009-07-03 11:39:56,318] WARNING:orm:[02]: If you want to have it, you should update the records and execute manually:
[2009-07-03 11:39:56,319] WARNING:orm:[03]: ALTER table ir_model_data ADD CONSTR
this too:
[2009-07-03 12:23:21,315] WARNING:orm:[01]: unable to add 'unique (certificate)' constraint on table ir_module_module !
[2009-07-03 12:23:21,316] WARNING:orm:[02]: If you want to have it, you should update the records and execute manually:
[2009-07-03 12:23:21,316] WARNING:orm:[03]: ALTER table ir_module_module ADD CONSTRAINT ir_module_
description: | updated |
summary: |
- error update orm + warning update orm |
La tabla contiene registros duplicados.
Se debe corregir para que pueda ejecutarse el comando ALTER TABLE correctamente