← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 719252] [NEW] Uninstalling modules does not remove sql constraints

 

Public bug reported:

Uninstalling a module does not remove a "unique" sql constraint set by
that module.

Reproducable with a very simple module:
https://code.launchpad.net/~dieck/openobject-addons/product_code_unique

Install the mod, uninstall the mod and the constraint
_sql_constraints = [ ('default_code_uniq', 'unique (default_code)', """Reference has to be unique."""), ]
is still active.

** Affects: openobject-server
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/719252

Title:
  Uninstalling modules does not remove sql constraints

Status in OpenERP Server:
  New

Bug description:
  Uninstalling a module does not remove a "unique" sql constraint set by
  that module.

  Reproducable with a very simple module:
  https://code.launchpad.net/~dieck/openobject-
  addons/product_code_unique

  Install the mod, uninstall the mod and the constraint
  _sql_constraints = [ ('default_code_uniq', 'unique (default_code)', """Reference has to be unique."""), ]
  is still active.





Follow ups

References