[fix] handle invalid date in get_retirement_date
[fix] handle invalid date in get_retirement_date

SPKian/Testing2,mbauskar/omnitech-erpnext,meisterkleister/erpnext,aruizramon/alec_erpnext,ShashaQin/erpnext,shft117/SteckerApp,indictranstech/trufil-erpnext,mbauskar/sapphire-erpnext,susuchina/ERPNEXT,gangadharkadam/saloon_erp_install,sheafferusa/erpnext,meisterkleister/erpnext,SPKian/Testing,gangadhar-kadam/helpdesk-erpnext,fuhongliang/erpnext,mbauskar/sapphire-erpnext,anandpdoshi/erpnext,gangadharkadam/v6_erp,sagar30051991/ozsmart-erp,geekroot/erpnext,pombredanne/erpnext,anandpdoshi/erpnext,hanselke/erpnext-1,fuhongliang/erpnext,indictranstech/biggift-erpnext,hanselke/erpnext-1,mbauskar/helpdesk-erpnext,gsnbng/erpnext,aruizramon/alec_erpnext,gangadhar-kadam/helpdesk-erpnext,hatwar/buyback-erpnext,gangadharkadam/saloon_erp,mbauskar/helpdesk-erpnext,ShashaQin/erpnext,sagar30051991/ozsmart-erp,meisterkleister/erpnext,mbauskar/sapphire-erpnext,sagar30051991/ozsmart-erp,aruizramon/alec_erpnext,gangadharkadam/saloon_erp_install,sheafferusa/erpnext,mbauskar/helpdesk-erpnext,sheafferusa/erpnext,mbauskar/helpdesk-erpnext,fuhongliang/erpnext,MartinEnder/erpnext-de,gmarke/erpnext,geekroot/erpnext,gsnbng/erpnext,indictranstech/osmosis-erpnext,susuchina/ERPNEXT,gmarke/erpnext,hatwar/buyback-erpnext,SPKian/Testing,mbauskar/alec_frappe5_erpnext,aruizramon/alec_erpnext,gangadharkadam/saloon_erp,mahabuber/erpnext,MartinEnder/erpnext-de,indictranstech/erpnext,pombredanne/erpnext,njmube/erpnext,SPKian/Testing2,mahabuber/erpnext,susuchina/ERPNEXT,MartinEnder/erpnext-de,SPKian/Testing,indictranstech/osmosis-erpnext,hanselke/erpnext-1,gmarke/erpnext,anandpdoshi/erpnext,hanselke/erpnext-1,ShashaQin/erpnext,indictranstech/osmosis-erpnext,gangadharkadam/v6_erp,susuchina/ERPNEXT,sagar30051991/ozsmart-erp,indictranstech/trufil-erpnext,shft117/SteckerApp,gangadhar-kadam/helpdesk-erpnext,gangadharkadam/saloon_erp,hatwar/buyback-erpnext,meisterkleister/erpnext,indictranstech/osmosis-erpnext,MartinEnder/erpnext-de,gangadharkadam/contributionerp,pombredanne/erpnext,mbauskar/omnitech-erpnext,indictranstech/biggift-erpnext,indictranstech/erpnext,indictranstech/erpnext,indictranstech/biggift-erpnext,mbauskar/alec_frappe5_erpnext,indictranstech/biggift-erpnext,gangadharkadam/saloon_erp_install,gangadharkadam/v6_erp,mbauskar/alec_frappe5_erpnext,pombredanne/erpnext,gsnbng/erpnext,gangadharkadam/contributionerp,gmarke/erpnext,njmube/erpnext,indictranstech/trufil-erpnext,indictranstech/trufil-erpnext,gangadhar-kadam/helpdesk-erpnext,gangadharkadam/saloon_erp_install,sheafferusa/erpnext,mbauskar/omnitech-erpnext,shft117/SteckerApp,SPKian/Testing2,gangadharkadam/contributionerp,gangadharkadam/saloon_erp,indictranstech/erpnext,gangadharkadam/contributionerp,geekroot/erpnext,anandpdoshi/erpnext,hatwar/buyback-erpnext,gangadharkadam/v6_erp,geekroot/erpnext,mahabuber/erpnext,mahabuber/erpnext,mbauskar/sapphire-erpnext,mbauskar/omnitech-erpnext,mbauskar/alec_frappe5_erpnext,Aptitudetech/ERPNext,njmube/erpnext,SPKian/Testing2,njmube/erpnext,ShashaQin/erpnext,fuhongliang/erpnext,SPKian/Testing,gsnbng/erpnext,shft117/SteckerApp