OCA/OCB — pull request #43 by lepistone (2014-09-01 14:21:51+00:00)
Title: prevent the constraint to be recreated on update

This fixes https://github.com/odoo/odoo/issues/2112 at least for move
lines. If the constraint is not written exactly like that, the next time
we update the module OpenERP does not recognize it and drops and
recreates the constraint. This is dangerous, and takes a long time in a
big table.