← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 719252] Re: Uninstalling modules does not remove sql constraints

 

** Changed in: openobject-server
   Importance: Undecided => Wishlist

** Changed in: openobject-server
       Status: New => Confirmed

** Changed in: openobject-server
     Assignee: (unassigned) => OpenERP's Framework R&D (openerp-dev-framework)

-- 
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:
  Confirmed

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.





References