[IMP] improved constraints: can now pass a callable message function instead of hardcoded message
[IMP] improved constraints: can now pass a callable message function instead of hardcoded message

akretion/openerp-server,akretion/openerp-server,akretion/openerp-server