IMP sale_planner better error handling and fixing '-' in res.partner.geo_localize()

This commit is contained in:
Jared Kipe
2018-09-24 11:21:54 -07:00
committed by Leo Pinedo
parent d13130518d
commit f35d2d4072
2 changed files with 3 additions and 3 deletions

View File

@@ -55,7 +55,7 @@ class FakePartner():
@property
def date_localization(self):
if not hasattr(self, 'date_localization'):
if not hasattr(self, 'date_localization') and self.date_localization:
self.date_localization = 'TODAY!'
# The fast way.
if ZipcodeSearchEngine and self.zip: