Uninstalling modules does not remove sql constraints

Bug #719252 reported by Marco Dieckhoff
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Confirmed
Wishlist
OpenERP's Framework R&D

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.

Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Marco Dieckhoff (dieck) wrote :

Please note that the above link is no longer valid.

product_code_unique is now available on lp:bremskerl-addons. Compare http://apps.openerp.com/addon/5609

Regards,
Marco

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.