translate: fix exporting of constraints, for inherited models
translate: fix exporting of constraints, for inherited models

When a model is inherited in more than one module, the earlier query
could have a clause on the module and repeat the constraint exported for
that module.

xrg/openerp-server,xrg/openerp-server