openerp-community team mailing list archive
-
openerp-community team
-
Mailing list archive
-
Message #02388
Re: lp:~openerp-dev/openobject-addons/trunk-bug-1129089-bhavesh into lp:openobject-addons
Review: Needs Fixing
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.
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1129089-bhavesh/+merge/151196
Your team OpenERP Community is subscribed to branch lp:~openerp-dev/openobject-addons/trunk-bug-1129089-bhavesh.
References