Code review comment for lp:~openerp-dev/openobject-addons/trunk-bug-1129089-bhavesh

Revision history for this message
Serpent Consulting Services (serpent-consulting-services) wrote :

Bhavesh,

This can be improved by the following way.

_constraints = [
    (_check_dates, _('Start date must be configured earlier than End date!'), ['date_to','date_from'])
]

Thanks.

review: Needs Fixing

« Back to merge proposal