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.
_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-community
More help : https://help.launchpad.net/ListHelp