← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

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

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/719252/+subscriptions


References